fix: 🐛 修复点击搜索,不重置当前页面,导致发送两次请求

This commit is contained in:
超凡
2025-04-25 10:35:01 +08:00
parent feaaec9abd
commit d4d0a71865
6 changed files with 6 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ const computedRules = computed(() => {
// 查询
function handleQuery() {
loading.value = true;
queryParams.pageNum = 1;
DictAPI.getPage(queryParams)
.then((data) => {
tableData.value = data.list;