|
@@ -558,10 +558,10 @@ export default {
|
|
|
// eslint-disable-next-line prefer-const
|
|
|
let uid = file.uid
|
|
|
const isLt =
|
|
|
- file.size / 1024 / 5 >= 1 && file.size / 1024 / 1024 / 2 <= 1
|
|
|
+ file.size / 1024 / 5 >= 1 && file.size / 1024 / 1024 / 5 <= 1
|
|
|
if (!isLt) {
|
|
|
// this.$refs.upImagesFiles.abort()
|
|
|
- this.$message.error('上传文件大小不得小于5KB,不得大于2MB!')
|
|
|
+ this.$message.error('上传文件大小不得小于5KB,不得大于5MB!')
|
|
|
return false
|
|
|
}
|
|
|
// console.log(fileList)
|