fix: 🐛 修复点击搜索,不重置当前页面,导致发送两次请求
This commit is contained in:
@@ -175,6 +175,7 @@ const computedRules = computed(() => {
|
||||
// 查询
|
||||
function handleQuery() {
|
||||
loading.value = true;
|
||||
queryParams.pageNum = 1;
|
||||
DictAPI.getPage(queryParams)
|
||||
.then((data) => {
|
||||
tableData.value = data.list;
|
||||
|
||||
Reference in New Issue
Block a user