Skip to content

Commit

Permalink
优化日志操作中重置按钮时重复查询的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Sep 19, 2022
1 parent aad94b2 commit 7148a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/monitor/logininfor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/monitor/operlog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7148a8e

Please sign in to comment.