zhangjie 2 yıl önce
ebeveyn
işleme
48c5d8c26e

+ 2 - 1
src/modules/question/components/QuestionImportEdit.vue

@@ -234,11 +234,12 @@ export default {
           cachePaperInfo[k] = info;
         });
       });
+      // console.log(cachePaperInfo);
       return cachePaperInfo;
     },
     assignCachePaperData(paperData, cacheData) {
       return paperData.map((detail, dIndex) => {
-        detail.questions.map((question) => {
+        detail.questions = detail.questions.map((question) => {
           return this.mergeObjData(
             question,
             cacheData[`${dIndex + 1}_${question.number}`] || {}