From 4bf9f3cff5380ca61b8098833eed79f4facd1560 Mon Sep 17 00:00:00 2001 From: exiace Date: Wed, 24 Aug 2022 06:18:18 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/components/FileUpload/ind?= =?UTF-8?q?ex.vue.=20=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: exiace --- ruoyi-ui/src/components/FileUpload/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue index 68255555..d1446b87 100644 --- a/ruoyi-ui/src/components/FileUpload/index.vue +++ b/ruoyi-ui/src/components/FileUpload/index.vue @@ -72,7 +72,7 @@ export default { return { number: 0, uploadList: [], - uploadFileUrl: process.env.VUE_APP_BASE_API + "/file/upload", // 上传的图片服务器地址 + uploadFileUrl: process.env.VUE_APP_BASE_API + "/file/upload", // 上传文件服务器地址 headers: { Authorization: "Bearer " + getToken(), }, @@ -146,7 +146,7 @@ export default { }, // 上传失败 handleUploadError(err) { - this.$modal.msgError("上传图片失败,请重试"); + this.$modal.msgError("上传文件失败,请重试"); this.$modal.closeLoading() }, // 上传成功回调