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

This commit is contained in:
超凡 committed 2025-04-25 10:35:01 +08:00
1 parent feaaec9abd
commit d4d0a71865
6 files changed
+6

No files matched your search

+1
View File
@@ -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;