fix: 🐛 修复点击搜索,不重置当前页面,导致发送两次请求
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user