fix: chinese prop names
This commit is contained in:
parent
66e8564a34
commit
f9d0620d3e
|
|
@ -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)}`) || '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue