Browse Source

feat: 图片预览

linwenxin 1 năm trước cách đây
mục cha
commit
dadf5e3f00
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
           }
         })
       }