fix: chinese prop names

This commit is contained in:
2026-03-21 18:52:40 +08:00
parent 66e8564a34
commit f9d0620d3e
+1 -1
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)}`) || '';
}