Explorar o código

修改图片上传张数

duanqichao %!s(int64=4) %!d(string=hai) anos
pai
achega
fab319248e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = '';
                 }