From dbf6ae5cb4dcff530751252488abfb0dd5fbee7b Mon Sep 17 00:00:00 2001 From: Lei OT Date: Sun, 29 Sep 2024 10:22:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=90=E4=BA=A4=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E8=A1=A8=E6=95=B0=E6=8D=AE,=20=E9=9C=80=E8=A6=81`=E5=90=8D?= =?UTF-8?q?=E7=A7=B0`=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bcf3d50..51e6b3f 100644 --- a/index.js +++ b/index.js @@ -272,7 +272,7 @@ const index = new Vue({ const citySNList = that.currentCity.cii_sn_arr || [that.currentCity.cii_sn]; for (const iterator of citySNList) { const rateArr = that.feedbackCity[`city_${iterator}`].feedbackItemList.map((ele) => { - return { id: ele.id, rate: formValues[`rate-${ele.type}-${ele.syc_sn}-${ele.sn}`] || 0 }; + return { id: ele.id, name: ele.name, rate: formValues[`rate-${ele.type}-${ele.syc_sn}-${ele.sn}`] || 0 }; }); // Submit the form manually // console.log(formValues, rateArr);