This commit is contained in:
BianLzhaoMin 2025-09-08 09:23:25 +08:00
parent e05b492bcf
commit a1da75b05a
2 changed files with 4 additions and 4 deletions

View File

@ -207,8 +207,8 @@ export default {
}
//
if (file.name.length > 30) {
this.$modal.msgError('文件名称不能超过30个字符')
if (file.name.length > 40) {
this.$modal.msgError('文件名称不能超过40个字符')
this.$emit(
'update:fileList',
fileList.filter((item) => item.uid !== file.uid),

View File

@ -219,8 +219,8 @@ export default {
}
//
if (file.name.length > 30) {
this.$modal.msgError('文件名称不能超过30个字符')
if (file.name.length > 40) {
this.$modal.msgError('文件名称不能超过40个字符')
this.$emit(
'update:fileList',
fileList.filter((item) => item.uid !== file.uid),