MacOS专区新增浏览器管理添加浏览器自动化,实现自动点击元素,输入文本,注入css等功能

This commit is contained in:
fofolee
2025-01-12 00:57:29 +08:00
parent b7af2bd1ff
commit c3a07ed0b5
9 changed files with 1036 additions and 185 deletions

View File

@@ -152,7 +152,7 @@ export default defineComponent({
if (config.component === "VariableInput") {
variableFormatPaths.push(prefix);
} else if (config.component === "ArrayEditor") {
variableFormatPaths.push(`${prefix}[*]`);
variableFormatPaths.push(`${prefix}[*].**`, `${prefix}[*]`);
} else if (config.component === "DictEditor") {
variableFormatPaths.push(`${prefix}.**`);
}
@@ -167,7 +167,6 @@ export default defineComponent({
addVariableFormatPath(`arg${index}`, item);
}
});
try {
argvs = parseFunction(code, { variableFormatPaths }).argvs;
} catch (e) {