feat: 更新新闻管理功能,新增摘要和排序顺序字段,优化上传组件逻辑
This commit is contained in:
@@ -55,7 +55,7 @@ async function handleCustomRequest({ file, onProgress, onFinish, onError }: Uplo
|
||||
}
|
||||
|
||||
// 验证文件数量
|
||||
if (fileList.value.length >= props.maxFiles) {
|
||||
if (fileList.value.length > props.maxFiles) {
|
||||
window.$message?.error(`最多只能上传 ${props.maxFiles} 个文件`);
|
||||
onError();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user