清理设备节点表格自带的筛选代码
This commit is contained in:
@@ -156,11 +156,6 @@ export default {
|
|||||||
'show-overflow-tooltip': true,
|
'show-overflow-tooltip': true,
|
||||||
component: {
|
component: {
|
||||||
size: 'small'
|
size: 'small'
|
||||||
},
|
|
||||||
filterMethod (value, row) {
|
|
||||||
console.log(value)
|
|
||||||
console.log(value)
|
|
||||||
return row.tag === value
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -354,11 +349,10 @@ export default {
|
|||||||
server: {
|
server: {
|
||||||
handler (val) {
|
handler (val) {
|
||||||
this.serverData = val
|
this.serverData = val
|
||||||
if(val.id){
|
if (val.id) {
|
||||||
this.getDevice()
|
this.getDevice()
|
||||||
this.getDeviceStatus()
|
this.getDeviceStatus()
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user