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