From 8355daeaa5d9749e894cdcddba23e92ff448f998 Mon Sep 17 00:00:00 2001 From: User Date: Tue, 3 Mar 2026 09:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods-detail/goods-detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goods-detail/goods-detail.js b/pages/goods-detail/goods-detail.js index 19a1406..5c5ecfa 100644 --- a/pages/goods-detail/goods-detail.js +++ b/pages/goods-detail/goods-detail.js @@ -2722,8 +2722,8 @@ Page({ phoneNumber: phoneNumber // 添加用户标识信息,用于判断是否可以删除 }; - // 更新评论列表 - add new comment to the end - const comments = [...this.data.comments, newComment]; + // 更新评论列表 - add new comment to the beginning + const comments = [newComment, ...this.data.comments]; this.setData({ comments: comments,