From 2198e6e6f23d75f61ccd92d1814459e4d4324e21 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 7 Jun 2022 18:14:23 +0800 Subject: [PATCH] BUG 30009 --- src/components/AiComment/AiComment.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AiComment/AiComment.vue b/src/components/AiComment/AiComment.vue index 57700f3..8f57d7a 100644 --- a/src/components/AiComment/AiComment.vue +++ b/src/components/AiComment/AiComment.vue @@ -87,7 +87,7 @@ export default { created() { this.getComments() uni.$on("moreComments", flag => { - flag ? this.current = 1 : this.current++ + flag == 1 ? this.current = 1 : this.current++ this.getComments() }) },