修改eventBUs调用多次的问题

This commit is contained in:
qq787203167
2022-06-29 09:42:25 +08:00
parent 41485cc394
commit 209e02538d
8 changed files with 30 additions and 1 deletions
@@ -123,6 +123,10 @@
this.getData()
this.getTableList()
},
beforeDestroy() {
eventBUs.$off('searchQuery')
eventBUs.$off('searchReset')
},
methods: {
rowClassName(record) {
return record.state == '废止' ? 'rowClassNameBack' : ''