mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(cascader): prevent log error for before filter (#1582)
This commit is contained in:
@@ -504,6 +504,7 @@ export default defineComponent({
|
||||
|
||||
if (isPromise(passed)) {
|
||||
passed.then(calculateSuggestions)
|
||||
.catch(() => { /* prevent log error */ })
|
||||
} else if (passed !== false) {
|
||||
calculateSuggestions()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user