Преглед на файлове

修改图片上传张数

duanqichao преди 4 години
родител
ревизия
fab319248e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      components/page-component/app-diy-form/app-diy-form.vue

+ 1 - 1
components/page-component/app-diy-form/app-diy-form.vue

xqd
@@ -551,7 +551,7 @@
             handleImageUpload(e) {
                 const index = parseInt(e.sign);
                 if (e.imageList.length > 0) {
-                    this.myList[index].value = e.imageList[0];
+                    this.myList[index].value = e.imageList;
                 } else {
                     this.myList[index].value = '';
                 }