mo 3 年之前
父节点
当前提交
e9cc10edac
共有 1 个文件被更改,包括 7 次插入0 次删除
  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) {