Parcourir la source

feat: 图片预览

linwenxin il y a 1 an
Parent
commit
dadf5e3f00
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/file-upload/index.vue

+ 1 - 1
src/components/file-upload/index.vue

@@ -144,7 +144,7 @@ export default {
       if (this.files && this.files.length > 0) {
         this.files.forEach(item => {
           if (this.checkFileType(item.url) == 'image') {
-            fileList.push(this.imageURL + item.url)
+            fileList.push(item.url)
           }
         })
       }