Parcourir la source

修改图片上传张数

duanqichao il y a 4 ans
Parent
commit
fab319248e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = '';
                 }