日志修复
This commit is contained in:
@@ -106,11 +106,11 @@ export default {
|
||||
alert('已存在健康报告!')
|
||||
},
|
||||
beforeAvatarUpload(file) {
|
||||
// const isLt2M = file.size / 1024 / 1024 < 2
|
||||
// if (!isLt2M) {
|
||||
// this.$message.error('上传头像图片大小不能超过 2MB!')
|
||||
// }
|
||||
// return isLt2M
|
||||
const isLt40M = file.size / 1024 / 1024 < 40
|
||||
if (!isLt40M) {
|
||||
this.$message.error('上传报告不能超过40MB!')
|
||||
}
|
||||
return isLt40M
|
||||
},
|
||||
// 处理头像上传成功
|
||||
handleAvatarSuccess(res) {
|
||||
|
||||
Reference in New Issue
Block a user