作者 也曾为你、像超人
提交者 Gitee

优化日志操作中重置按钮时重复查询的问题

Signed-off-by: 也曾为你、像超人 <1553592282@qq.com>
@@ -189,8 +189,8 @@ export default { @@ -189,8 +189,8 @@ export default {
189 resetQuery() { 189 resetQuery() {
190 this.dateRange = []; 190 this.dateRange = [];
191 this.resetForm("queryForm"); 191 this.resetForm("queryForm");
  192 + this.queryParams.pageNum = 1;
192 this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order) 193 this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order)
193 - this.handleQuery();  
194 }, 194 },
195 /** 多选框选中数据 */ 195 /** 多选框选中数据 */
196 handleSelectionChange(selection) { 196 handleSelectionChange(selection) {
@@ -255,8 +255,8 @@ export default { @@ -255,8 +255,8 @@ export default {
255 resetQuery() { 255 resetQuery() {
256 this.dateRange = []; 256 this.dateRange = [];
257 this.resetForm("queryForm"); 257 this.resetForm("queryForm");
  258 + this.queryParams.pageNum = 1;
258 this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order) 259 this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order)
259 - this.handleQuery();  
260 }, 260 },
261 /** 多选框选中数据 */ 261 /** 多选框选中数据 */
262 handleSelectionChange(selection) { 262 handleSelectionChange(selection) {