🎨 优化链接跳转,调整UI

This commit is contained in:
目棃
2024-11-17 10:47:25 +08:00
parent c7b5bf34ef
commit 4bc1808478
7 changed files with 107 additions and 52 deletions

View File

@@ -89,7 +89,7 @@ export async function parseLink(
if (url.pathname.startsWith("//discussion")) {
const gid = url.pathname.split("/").pop();
const forum = url.searchParams.get("forum_id");
await emit("active_deep_link", `router?path=/posts/${gid}/${forum}`);
await emit("active_deep_link", `router?path=/posts/forum/${gid}/${forum}`);
return true;
}
if (url.pathname.startsWith("//homeForum")) {