mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-22 05:35:48 +08:00
⚡️ 调整路由跳转方式,避免不必要的历史记录
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user