提交者
Gitee
!581 优化日志操作中重置按钮时重复查询的问题
Merge pull request !581 from 也曾为你、像超人/N/A
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -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) { |
-
请 注册 或 登录 后发表评论