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