mo 3 years ago
parent
commit
e9cc10edac
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/views/setQuestions/questionManger/component/Progressive.vue

+ 7 - 0
src/views/setQuestions/questionManger/component/Progressive.vue

@@ -392,6 +392,13 @@ export default {
           ].questionnaireQuestionItemIdList.split(",");
       } else if (pervQuestion.type == "textarea") {
         this.textarea = this.checkList[this.currentIndex - 1].additionalValue;
+      } else if (pervQuestion.type == "image") {
+        this.imgUrl = this.checkList[this.currentIndex - 1].additionalValue;
+        this.imageList = [
+          {
+            url: this.checkList[this.currentIndex - 1].additionalValue,
+          },
+        ];
       }
     },
     toggle(index) {