️ 调整路由跳转方式,避免不必要的历史记录

This commit is contained in:
BTMuli
2026-05-19 20:22:07 +08:00
parent d7f5aab415
commit 3dfd9bc351

View File

@@ -289,7 +289,7 @@ async function getCurrentPosts(
async function freshPostData(): Promise<void> {
if (!selectedForum.value || isReq.value) return;
await router.push({
await router.replace({
name: "酒馆",
params: route.params,
query: { gid: curGid.value, forum: selectedForum.value.value },