页面刷新

This commit is contained in:
仲么了
2024-02-28 11:16:40 +08:00
parent 268b8547f2
commit 6443edfb43
11 changed files with 28 additions and 12 deletions

View File

@@ -60,6 +60,7 @@ export default class TableStore {
}
index() {
this.table.beforeSearchFun && this.table.beforeSearchFun()
this.table.data = []
this.table.loading = true
// 重置用的数据数据
@@ -96,7 +97,6 @@ export default class TableStore {
[
'search',
() => {
this.table.beforeSearchFun && this.table.beforeSearchFun()
this.table.params.pageNum = 1
this.index()
}