Commit 7b7e9243 authored by 周成波's avatar 周成波

bug

parent c7d535ab
......@@ -273,7 +273,7 @@ const onAdaptSceneRoles = async () => {
}
if (!form.all_roles) {
ElMessage({
message: `总角色为空`,
message: `总角色不能为空`,
type: "error",
});
return;
......@@ -308,7 +308,7 @@ const onAdaptOneSceneRoles = async (item: any) => {
}
if (!form.all_roles) {
ElMessage({
message: `总角色为空`,
message: `总角色不能为空`,
type: "error",
});
return;
......@@ -370,15 +370,21 @@ const onDraw = async () => {
});
return;
}
let is_all_ok = true;
for (const item of form.adapt_result_json) {
if (!item.场景关键词) {
ElMessage({
message: `分镜 ${item.编号} 场景关键词不能为空`,
type: "error",
});
return;
is_all_ok = false;
break;
}
};
if (is_all_ok) {
for (const item of form.adapt_result_json) {
onDrawOne(item);
}
onDrawOne(item);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment