From d4d0a718650ec1d307c66ca5e10c59559a6f0a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E5=87=A1?= <2508779859@qq.com> Date: Fri, 25 Apr 2025 10:35:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=90=9C=E7=B4=A2=EF=BC=8C=E4=B8=8D=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=8F=91=E9=80=81=E4=B8=A4=E6=AC=A1=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/config/index.vue | 1 + src/views/system/dict/index.vue | 1 + src/views/system/log/index.vue | 1 + src/views/system/notice/index.vue | 1 + src/views/system/role/index.vue | 1 + src/views/system/user/index.vue | 1 + 6 files changed, 6 insertions(+) diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index bbb4f7b8..4696f18a 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -181,6 +181,7 @@ const rules = reactive({ // 查询系统配置 function handleQuery() { loading.value = true; + queryParams.pageNum = 1; ConfigAPI.getPage(queryParams) .then((data) => { pageData.value = data.list; diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 8e90f54e..de498561 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -175,6 +175,7 @@ const computedRules = computed(() => { // 查询 function handleQuery() { loading.value = true; + queryParams.pageNum = 1; DictAPI.getPage(queryParams) .then((data) => { tableData.value = data.list; diff --git a/src/views/system/log/index.vue b/src/views/system/log/index.vue index d9ad0fc5..90ae693b 100644 --- a/src/views/system/log/index.vue +++ b/src/views/system/log/index.vue @@ -88,6 +88,7 @@ const pageData = ref(); /** 查询 */ function handleQuery() { loading.value = true; + queryParams.pageNum = 1; LogAPI.getPage(queryParams) .then((data) => { pageData.value = data.list; diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 81cbc3de..17870d2b 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -330,6 +330,7 @@ const currentNotice = ref({}); // 查询通知公告 function handleQuery() { loading.value = true; + queryParams.pageNum = 1; NoticeAPI.getPage(queryParams) .then((data) => { pageData.value = data.list; diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 6a294113..ca331b3a 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -280,6 +280,7 @@ const parentChildLinked = ref(true); // 查询 function handleQuery() { loading.value = true; + queryParams.pageNum = 1; RoleAPI.getPage(queryParams) .then((data) => { roleList.value = data.list; diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index f4150c49..87a077d4 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -316,6 +316,7 @@ const importDialogVisible = ref(false); // 查询 async function handleQuery() { loading.value = true; + queryParams.pageNum = 1; UserAPI.getPage(queryParams) .then((data) => { pageData.value = data.list;