fix: 🐛 修复点击搜索,不重置当前页面,导致发送两次请求
This commit is contained in:
1 parent
feaaec9abd
commit
d4d0a71865
6 files changed
+6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user