🏷️ add await

This commit is contained in:
目棃
2025-03-04 17:05:47 +08:00
parent 8f2ea6deea
commit bc9d848633
4 changed files with 7 additions and 7 deletions

View File

@@ -107,7 +107,7 @@ async function toPost(postId: string, index: number): Promise<void> {
showSnackbar.warn("已经在当前帖子");
return;
}
router.push({ name: "帖子详情", params: { post_id: postId } });
await router.push({ name: "帖子详情", params: { post_id: postId } });
}
</script>
<style lang="css" scoped>