mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复路径问题
This commit is contained in:
@@ -171,11 +171,6 @@ onMounted(async () => {
|
|||||||
showLoading.end();
|
showLoading.end();
|
||||||
});
|
});
|
||||||
|
|
||||||
async function toTopic(topic: TGApp.Plugins.Mys.Topic.Info): Promise<void> {
|
|
||||||
const gid = postData.value?.post.game_id ?? topic.game_id;
|
|
||||||
await emit("active_deep_link", `router?path=/posts/${gid}/${topic.id}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
function showOverlayC() {
|
function showOverlayC() {
|
||||||
showCollection.value = true;
|
showCollection.value = true;
|
||||||
}
|
}
|
||||||
@@ -245,6 +240,11 @@ async function toPost(): Promise<void> {
|
|||||||
await TGClient.open("web_thin", url);
|
await TGClient.open("web_thin", url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function toTopic(topic: TGApp.Plugins.Mys.Topic.Info): Promise<void> {
|
||||||
|
const gid = postData.value?.post.game_id ?? topic.game_id;
|
||||||
|
await emit("active_deep_link", `router?path=/posts/topic/${gid}/${topic.id}`);
|
||||||
|
}
|
||||||
|
|
||||||
async function toForum(forum: TGApp.Plugins.Mys.Post.Forum): Promise<void> {
|
async function toForum(forum: TGApp.Plugins.Mys.Post.Forum): Promise<void> {
|
||||||
await emit("active_deep_link", `router?path=/posts/forum/${forum.game_id}/${forum.id}`);
|
await emit("active_deep_link", `router?path=/posts/forum/${forum.game_id}/${forum.id}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user