'兼容关联弹窗空数据问题'

This commit is contained in:
HISENSE\liuyuxin6 2022-06-22 17:21:36 +08:00
parent 0b0b9af1f1
commit af600c7437
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ export default {
{ leading: true, trailing: false }
),
filterMethod(query, item) {
return item.name.indexOf(query) > -1;
return item.name && item.name.indexOf(query) > -1;
}
},
mounted () {