From 496a4dd28f52d48a324330d7fd5c7fc866e3d93d Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Mon, 6 Jan 2025 14:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FeedBackModel/index.tsx | 39 +++++++++++++++----------- src/page/Home/Index/index.tsx | 2 +- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/src/components/FeedBackModel/index.tsx b/src/components/FeedBackModel/index.tsx index bc004c8..f0009c0 100644 --- a/src/components/FeedBackModel/index.tsx +++ b/src/components/FeedBackModel/index.tsx @@ -13,36 +13,42 @@ const FeedBackModel = forwardRef((_props: any, ref: any) => { const [feedBackForm, setFeedBackForm] = useState({ rateValue: 0, otherContent: '', - type: 0, }); - const [feedBackList, _setFeedBackList] = useState([ + const [feedBackList, setFeedBackList] = useState([ { text: "软件卡顿", - value: 2 + value: 2, + active: false, }, { text: "设计不合理", - value: 3 + value: 3, + active: false, }, { text: "功能太少", - value: 4 + value: 4, + active: false, }, { text: "通话不流畅", - value: 5 + value: 5, + active: false, }, { text: "视频卡顿", - value: 6 + value: 6, + active: false, }, { text: "操作麻烦", - value: 7 + value: 7, + active: false, }, { text: "其他,需要手动填写", - value: 1 + value: 1, + active: false, }, ]); return ( @@ -75,11 +81,10 @@ const FeedBackModel = forwardRef((_props: any, ref: any) => { { feedBackList.map((item, index) => { return ( -