diff --git a/ui/console-src/modules/contents/posts/PostList.vue b/ui/console-src/modules/contents/posts/PostList.vue index 1f68d49e09..6a51793ec6 100644 --- a/ui/console-src/modules/contents/posts/PostList.vue +++ b/ui/console-src/modules/contents/posts/PostList.vue @@ -197,7 +197,7 @@ const handleSelectPrevious = async () => { selectedPost.value = previousPost; return; } - if (index === 0 && hasPrevious) { + if (index === 0 && hasPrevious.value) { page.value--; await refetch(); selectedPost.value = posts.value[posts.value.length - 1].post;