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);