'兼容关联弹窗空数据问题'
This commit is contained in:
parent
0b0b9af1f1
commit
af600c7437
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue