diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index dd0c942..59a5353 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -169,8 +169,8 @@ function handleQuery() { function resetQuery() { dateRange.value = []; proxy.resetForm("queryRef"); + queryParams.value.pageNum = 1; proxy.$refs["logininforRef"].sort(defaultSort.value.prop, defaultSort.value.order); - handleQuery(); } /** 多选框选中数据 */ function handleSelectionChange(selection) { diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 9bbe042..950ea0b 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -239,8 +239,8 @@ function handleQuery() { function resetQuery() { dateRange.value = []; proxy.resetForm("queryRef"); + queryParams.value.pageNum = 1; proxy.$refs["operlogRef"].sort(defaultSort.value.prop, defaultSort.value.order); - handleQuery(); } /** 多选框选中数据 */ function handleSelectionChange(selection) {