25608
This commit is contained in:
@@ -99,7 +99,9 @@ export default {
|
|||||||
this.$emit('select', data)
|
this.$emit('select', data)
|
||||||
},
|
},
|
||||||
handleFilter(v, data) {
|
handleFilter(v, data) {
|
||||||
return data?.deviceName?.indexOf(v) > -1
|
if (!v) return true
|
||||||
|
|
||||||
|
return data?.name?.indexOf(v) > -1
|
||||||
},
|
},
|
||||||
handleTreeFilter(v) {
|
handleTreeFilter(v) {
|
||||||
this.$refs.deviceTree?.filter(v)
|
this.$refs.deviceTree?.filter(v)
|
||||||
|
|||||||
Reference in New Issue
Block a user