修复工艺模型上传文件名校验

This commit is contained in:
zhangshun
2026-05-29 17:33:29 +08:00
parent aeaeb9aec5
commit 0b99801b26

View File

@@ -511,7 +511,7 @@ export async function openProcessModelUploadDialog(input?: {
await uploadModelToBackend({ await uploadModelToBackend({
file: state.file, file: state.file,
name, name,
fileName: name || state.file.name, fileName: state.file.name,
brandName: String(form.get("brandName") ?? ""), brandName: String(form.get("brandName") ?? ""),
typeName: String(form.get("typeName") ?? ""), typeName: String(form.get("typeName") ?? ""),
operationTree: String(form.get("operationTree") ?? ""), operationTree: String(form.get("operationTree") ?? ""),