From 37dd4e045275af5e640328c5072873af1c504298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= Date: Fri, 27 Mar 2026 09:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BA=E5=9D=9B=E5=B8=96?= =?UTF-8?q?=E5=AD=90=E7=82=B9=E8=B5=9E=E6=94=B6=E8=97=8F=E4=BC=A0=E9=94=99?= =?UTF-8?q?id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forums/detail/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/forums/detail/index.jsx b/src/forums/detail/index.jsx index f5e817178..1e8d11edc 100644 --- a/src/forums/detail/index.jsx +++ b/src/forums/detail/index.jsx @@ -60,7 +60,7 @@ function detail(props) { ] function actionClick(item){ - const {memoKey, id} = item; + const {memoKey} = item; if(memoKey === "user_praise"){ postPlus({ container_type: "Memo", @@ -79,7 +79,7 @@ function detail(props) { setReload(Math.random()); } }) - }else if(id === "reply"){ + }else if(item.id === "reply"){ // 点击按钮,页面滚动到评论区,并且打开新增评论编辑框 const commentsSection = document.getElementById('commentListBox_forums'); if (commentsSection) {