This commit is contained in:
2026-05-18 12:28:10 +08:00
parent fdc031673f
commit fb193c0528
4 changed files with 55 additions and 20 deletions

View File

@ -202,7 +202,8 @@ export const executeEvent2 = async (result) => {
// 检查是否有模型更换事件
const hasModelChange = result.data.events.some(e => e.event_type === 'change_model');
const modelExists = await kernel.model.exists(modelId);
console.log(modelExists);
// 只有在需要更换模型时才清除
if (hasModelChange) {
kernel.dropZone.clearZones();
@ -241,7 +242,7 @@ export const executeEvent2 = async (result) => {
modelControlType: model_control_type,
})
console.log(`百叶模型已放置为 ${name}`);
console.log(`模型已放置为 ${name}`);
}
}