fix: chinese prop names
This commit is contained in:
@@ -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)}`) || '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user