fix: 修正Tab切换时的显示问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m46s

- 切换Tab时重置页码
This commit is contained in:
2025-10-24 17:01:29 +08:00
parent e403252dba
commit b1ff62a3bb

View File

@ -205,6 +205,10 @@
router.replace(localePath({ path: '/search' }));
};
watch(activeTab, () => {
currentPage.value = 1; // 重置页码
});
watch(
() => route.query.query,
async (newQuery) => {