update ruoyi-ui/src/components/FileUpload/index.vue.

文件上传组件提示信息错误

Signed-off-by: exiace <exiace@qq.com>
pull/240/head
exiace 2 years ago committed by Gitee
parent 8c7986acdb
commit 4bf9f3cff5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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()
},
//

Loading…
Cancel
Save