fix: 优化administration切换tab的效果

This commit is contained in:
chenjinsong
2022-12-08 16:36:27 +08:00
parent 1f941376ee
commit ddedb4194b

View File

@@ -32,6 +32,8 @@ export default {
object: {},
searchLabel: ref({}),
isFirstQuery: true,
tableData: [],
scrollbarWrap: null,
delFlag: false,
@@ -118,7 +120,14 @@ export default {
},
pageNo (val) {
this.pageObj.pageNo = val
if (this.isFirstQuery) {
this.isFirstQuery = false
setTimeout(() => {
this.getTableData()
}, 300)
} else {
this.getTableData()
}
},
pageSize (val) {
this.pageObj.pageSize = val