diff --git a/frontend/image-tool/src/businessNew/common/Editor.ts b/frontend/image-tool/src/businessNew/common/Editor.ts index 8ec67811..d3d5bf9c 100644 --- a/frontend/image-tool/src/businessNew/common/Editor.ts +++ b/frontend/image-tool/src/businessNew/common/Editor.ts @@ -123,8 +123,8 @@ export default class Editor extends BaseEditor { if (!model || !model.code || model.state !== LoadStatus.COMPLETE) return; const result = this.dataManager.hasModelResult(model.code, frame); if (result) { - // api.clearModel([+frame.id], model.recordId); this.addModelData(model.code); + api.clearModel([+frame.id], model.recordId); } else { this.runModel(); }