修改禅道已知bug
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
eventBUs.$on('searchQuery', search => {
|
||||
eventBUs.$on('searchQueryOne', search => {
|
||||
Object.keys(search).forEach(res => {
|
||||
if (search[res] instanceof Array) {
|
||||
search[res] = search[res].join(',')
|
||||
@@ -116,7 +116,7 @@
|
||||
this.getData()
|
||||
this.getTableList()
|
||||
})
|
||||
eventBUs.$on('searchReset', target => {
|
||||
eventBUs.$on('searchResetOne', target => {
|
||||
this.searchParmes = {}
|
||||
this.selectedRowKeys = []
|
||||
this.getData()
|
||||
@@ -126,8 +126,8 @@
|
||||
this.getTableList()
|
||||
},
|
||||
beforeDestroy(){
|
||||
eventBUs.$off('searchQuery')
|
||||
eventBUs.$off('searchReset')
|
||||
eventBUs.$off('searchQueryOne')
|
||||
eventBUs.$off('searchResetOne')
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user