页面刷新
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user