完善编排执行命令功能

This commit is contained in:
fofolee
2025-01-05 11:04:20 +08:00
parent e082304c56
commit e94118881a
15 changed files with 505 additions and 59 deletions

View File

@@ -212,7 +212,7 @@ export default defineComponent({
};
// 生成代码
return `quickcomposer.simulate.findImage("data:image/png;base64,${config.imageData}", { threshold: ${config.threshold}, mouseAction: "${config.mouseAction}" })`;
return `${this.modelValue.value}("data:image/png;base64,${config.imageData}", { threshold: ${config.threshold}, mouseAction: "${config.mouseAction}" })`;
},
parseCodeToArgvs(code) {