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

@@ -330,6 +330,7 @@ const currentNotice = ref<NoticeDetailVO>({});
// 查询通知公告
function handleQuery() {
loading.value = true;
queryParams.pageNum = 1;
NoticeAPI.getPage(queryParams)
.then((data) => {
pageData.value = data.list;