浏览代码

feat: 图片预览

linwenxin 1 年之前
父节点
当前提交
dadf5e3f00
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
           }
         })
       }