From e781f88eca04c5e8d005c341f37b71aa1a255f07 Mon Sep 17 00:00:00 2001
From: 也曾为你、像超人 <1553592282@qq.com>
Date: 星期一, 19 九月 2022 14:30:47 +0800
Subject: [PATCH] 优化日志操作中重置按钮时重复查询的问题
---
ruoyi-ui/src/views/monitor/logininfor/index.vue | 2 +-
ruoyi-ui/src/views/monitor/operlog/index.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/monitor/logininfor/index.vue b/ruoyi-ui/src/views/monitor/logininfor/index.vue
index c7776f5..8a9b17a 100644
--- a/ruoyi-ui/src/views/monitor/logininfor/index.vue
+++ b/ruoyi-ui/src/views/monitor/logininfor/index.vue
@@ -189,8 +189,8 @@
resetQuery() {
this.dateRange = [];
this.resetForm("queryForm");
+ this.queryParams.pageNum = 1;
this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order)
- this.handleQuery();
},
/** 澶氶�夋閫変腑鏁版嵁 */
handleSelectionChange(selection) {
diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/ruoyi-ui/src/views/monitor/operlog/index.vue
index aa8c3b0..c1b5377 100644
--- a/ruoyi-ui/src/views/monitor/operlog/index.vue
+++ b/ruoyi-ui/src/views/monitor/operlog/index.vue
@@ -255,8 +255,8 @@
resetQuery() {
this.dateRange = [];
this.resetForm("queryForm");
+ this.queryParams.pageNum = 1;
this.$refs.tables.sort(this.defaultSort.prop, this.defaultSort.order)
- this.handleQuery();
},
/** 澶氶�夋閫変腑鏁版嵁 */
handleSelectionChange(selection) {
--
Gitblit v1.9.3