zhangjie 2 years ago
parent
commit
48c5d8c26e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/question/components/QuestionImportEdit.vue

+ 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}`] || {}