feat: base scTable queryData不clearSelection
This commit is contained in:
parent
61bfe8c21c
commit
988d693678
|
|
@ -291,13 +291,13 @@ export default {
|
|||
},
|
||||
//刷新数据
|
||||
refresh() {
|
||||
this.$refs.scTable.clearSelection();
|
||||
// this.$refs.scTable.clearSelection();
|
||||
this.getData();
|
||||
},
|
||||
//查询数据 追加query
|
||||
upData(query, page = 1) {
|
||||
this.currentPage = page;
|
||||
this.$refs.scTable.clearSelection();
|
||||
// this.$refs.scTable.clearSelection();
|
||||
Object.assign(this.tableParams, query);
|
||||
this.getData();
|
||||
},
|
||||
|
|
@ -305,7 +305,7 @@ export default {
|
|||
queryData(query, page = 1) {
|
||||
this.currentPage = page;
|
||||
Object.assign(this.tableParams, query);
|
||||
this.$refs.scTable.clearSelection();
|
||||
// this.$refs.scTable.clearSelection();
|
||||
this.$refs.scTable.clearFilter();
|
||||
this.getData();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue