From 48a0d5bc9d17f083e2c42f8a92b3228876887b4a Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Fri, 30 Sep 2022 09:24:09 +0800
Subject: [PATCH] !258 fix: 改为静态方法, isError和isSuccess方法会被json序列化 Merge pull request !258 from runphp/N/A
---
ruoyi-ui/src/components/FileUpload/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue
index 6825555..d1446b8 100644
--- a/ruoyi-ui/src/components/FileUpload/index.vue
+++ b/ruoyi-ui/src/components/FileUpload/index.vue
@@ -72,7 +72,7 @@
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 @@
},
// 上传失败
handleUploadError(err) {
- this.$modal.msgError("上传图片失败,请重试");
+ this.$modal.msgError("上传文件失败,请重试");
this.$modal.closeLoading()
},
// 上传成功回调
--
Gitblit v1.9.3