diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 88ea5f0d..5ffed18a 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -319,7 +319,7 @@ export default { }, data () { return { - activeNames: ['1'], + activeNames: [], openSearch: false, exportBtn: false, exportBtnTitle: '导出', @@ -453,7 +453,9 @@ export default { this.getTableData() }, handleOpenSearch() { + if (!this.openSearch) this.activeNames = [this.searchList[0].itemGroupId] this.openSearch = !this.openSearch + }, computedWidth (label, type) {