fix: chinese prop names

This commit is contained in:
hypercross 2026-03-21 18:52:40 +08:00
parent 66e8564a34
commit f9d0620d3e
1 changed files with 1 additions and 1 deletions

View File

@ -158,5 +158,5 @@ export function processVariables<T extends JSONObject> (body: string, currentRow
return `{{${key}}}`;
}
return body?.replace(/\{\{(\w+)\}\}/g, (_, key) => `${replaceProp(key)}`) || '';
return body?.replace(/\{\{([^}]+)\}\}/g, (_, key) => `${replaceProp(key)}`) || '';
}