修改eventBUs调用多次的问题
This commit is contained in:
@@ -123,6 +123,10 @@
|
||||
this.getData()
|
||||
this.getTableList()
|
||||
},
|
||||
beforeDestroy() {
|
||||
eventBUs.$off('searchQuery')
|
||||
eventBUs.$off('searchReset')
|
||||
},
|
||||
methods: {
|
||||
rowClassName(record) {
|
||||
return record.state == '废止' ? 'rowClassNameBack' : ''
|
||||
|
||||
Reference in New Issue
Block a user