Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -99,7 +99,7 @@ const beforeRead = (file) => { | ... | @@ -99,7 +99,7 @@ const beforeRead = (file) => { |
| 99 | if (fileList.value.length + file.length > props.item.component_props.max_count) { | 99 | if (fileList.value.length + file.length > props.item.component_props.max_count) { |
| 100 | // 数量限制 | 100 | // 数量限制 |
| 101 | flag = false; | 101 | flag = false; |
| 102 | - showToast(`最大上传数量为${props.item.component_props.max_count}个`); | 102 | + showToast(`最大上传数量为${props.item.component_props.max_count}张`); |
| 103 | } | 103 | } |
| 104 | } else { | 104 | } else { |
| 105 | if (!_.includes(image_types, file.type)) { | 105 | if (!_.includes(image_types, file.type)) { |
| ... | @@ -109,7 +109,7 @@ const beforeRead = (file) => { | ... | @@ -109,7 +109,7 @@ const beforeRead = (file) => { |
| 109 | if (fileList.value.length + 1 > props.item.component_props.max_count) { | 109 | if (fileList.value.length + 1 > props.item.component_props.max_count) { |
| 110 | // 数量限制 | 110 | // 数量限制 |
| 111 | flag = false; | 111 | flag = false; |
| 112 | - showToast(`最大上传数量为${props.item.component_props.max_count}个`); | 112 | + showToast(`最大上传数量为${props.item.component_props.max_count}张`); |
| 113 | } | 113 | } |
| 114 | if (file.size > props.item.component_props.max_size) { | 114 | if (file.size > props.item.component_props.max_size) { |
| 115 | // 体积限制 | 115 | // 体积限制 | ... | ... |
-
Please register or login to post a comment