-
-
-
{{ postData.forum.name }}
+
+
+
+
+ {{ postData.forum.name }}
+
mdi-eye
@@ -189,6 +195,7 @@ onMounted(async () => {
return;
}
postData.value = resp;
+ console.log(resp);
isLike.value = postData.value.self_operation.upvote_type !== 0;
await showLoading.update("正在渲染数据");
renderPost.value = await getRenderPost(postData.value);
@@ -345,6 +352,10 @@ async function toTopic(topic: TGApp.BBS.Post.Topic): Promise {
await emit("active_deep_link", `router?path=/posts/topic/${gid}/${topic.id}`);
}
+async function toGame(gameId: number): Promise {
+ await emit("active_deep_link", `router?path=/posts/forum/${gameId}`);
+}
+
async function toForum(forum: TGApp.BBS.Post.Forum): Promise {
await emit("active_deep_link", `router?path=/posts/forum/${forum.game_id}/${forum.id}`);
}