Commit 2f9ea143 authored by 高滢's avatar 高滢

feat(图片上传): 70446

parent bbbf7e22
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
if (this.fileSize) { if (this.fileSize) {
const isLt = file.size / 1024 / 1024 < this.fileSize const isLt = file.size / 1024 / 1024 < this.fileSize
if (!isLt) { if (!isLt) {
this.$modal.msgError(`上传头像图片大小不能超过 ${this.fileSize} MB!`) this.$modal.msgError(`上传图片大小不能超过 ${this.fileSize} MB!`)
return false return false
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment