diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index 5122d653..d40f7e85 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -84,12 +84,9 @@ const loadPosts = () => { }; const onPostSuccess = (post: Item.PostProps) => { - router.push({ - name: 'post', - query: { - id: post.id, - }, - }); + setTimeout(() => { + loadPosts(); + }, 50); }; const updatePage = (p: number) => {