From 8a898837848aedffbb05638110d4b0d28e56a2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Sun, 17 Nov 2024 11:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/t-post.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/t-post.vue b/src/views/t-post.vue index 2293c081..088286d5 100644 --- a/src/views/t-post.vue +++ b/src/views/t-post.vue @@ -171,11 +171,6 @@ onMounted(async () => { showLoading.end(); }); -async function toTopic(topic: TGApp.Plugins.Mys.Topic.Info): Promise { - const gid = postData.value?.post.game_id ?? topic.game_id; - await emit("active_deep_link", `router?path=/posts/${gid}/${topic.id}`); -} - function showOverlayC() { showCollection.value = true; } @@ -245,6 +240,11 @@ async function toPost(): Promise { await TGClient.open("web_thin", url); } +async function toTopic(topic: TGApp.Plugins.Mys.Topic.Info): Promise { + 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 { await emit("active_deep_link", `router?path=/posts/forum/${forum.game_id}/${forum.id}`); }