|
|
@@ -896,7 +896,7 @@
|
|
|
<el-upload multiple style="margin-top: 10px;" action="" ref="refuploadattach"
|
|
|
:on-remove="filremove" :file-list="fileList" :http-request="uploadrequest" class="attach-uploader" :before-upload="beforeAvatarUpload">
|
|
|
<i class="el-icon-plus attach-uploader-icon"></i>
|
|
|
- <div slot="tip" class="el-upload__tip" v-if="SubfileForm.NeedFileType !=yasuoname">最大可上传 10MB
|
|
|
+ <div slot="tip" class="el-upload__tip" v-if="SubfileForm.NeedFileType !=yasuoname">最大可上传 100MB
|
|
|
</div>
|
|
|
</el-upload>
|
|
|
</el-form-item>
|
|
|
@@ -937,7 +937,7 @@
|
|
|
<el-upload multiple style="margin-top: 10px;" action="" ref="newrefuploadattach"
|
|
|
:http-request="uploadrequest" class="attach-uploader" :before-upload="newbeforeAvatarUpload">
|
|
|
<i class="el-icon-plus attach-uploader-icon"></i>
|
|
|
- <div slot="tip" class="el-upload__tip">最大可上传 10MB
|
|
|
+ <div slot="tip" class="el-upload__tip">最大可上传 100MB
|
|
|
</div>
|
|
|
</el-upload>
|
|
|
</el-form-item>
|
|
|
@@ -1729,9 +1729,9 @@ import Viewer from 'v-viewer'
|
|
|
},
|
|
|
newbeforeAvatarUpload (file) {
|
|
|
if (this.newSubfileForm.NeedFileType != this.yasuoname) {
|
|
|
- let isLt10m = file.size / 1024 / 1024 / 10 < 1
|
|
|
+ let isLt10m = file.size / 1024 / 1024 / 100 < 1
|
|
|
if (!isLt10m) {
|
|
|
- this.$message.error('上传文件大小不能超过 10MB!')
|
|
|
+ this.$message.error('上传文件大小不能超过 100MB!')
|
|
|
return false
|
|
|
}
|
|
|
return true
|
|
|
@@ -2003,9 +2003,9 @@ import Viewer from 'v-viewer'
|
|
|
},
|
|
|
beforeAvatarUpload (file) {
|
|
|
if (this.SubfileForm.NeedFileType !== this.yasuoname) {
|
|
|
- let isLt10m = file.size / 1024 / 1024 / 10 < 1
|
|
|
+ let isLt10m = file.size / 1024 / 1024 / 100 < 1
|
|
|
if (!isLt10m) {
|
|
|
- this.$message.error('上传文件大小不能超过 10MB!')
|
|
|
+ this.$message.error('上传文件大小不能超过 100MB!')
|
|
|
return false
|
|
|
}
|
|
|
return true
|