From ae5a0f9774600a863348689065f58ec59f5c3994 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 5 Jan 2021 20:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/FileUpload/index.vue | 178 ++++++++++++++++++ ruoyi-ui/src/components/ImageUpload/index.vue | 1 - 2 files changed, 178 insertions(+), 1 deletion(-) create mode 100644 ruoyi-ui/src/components/FileUpload/index.vue diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue new file mode 100644 index 0000000..841d3ae --- /dev/null +++ b/ruoyi-ui/src/components/FileUpload/index.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 89f0b40..67fa99c 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -34,7 +34,6 @@ import { getToken } from "@/utils/auth"; export default { - components: {}, data() { return { uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址