From f9d0620d3e62f3c07bacb508635760dd2af6f96e Mon Sep 17 00:00:00 2001 From: hypercross Date: Sat, 21 Mar 2026 18:52:40 +0800 Subject: [PATCH] fix: chinese prop names --- src/components/utils/csv-loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utils/csv-loader.ts b/src/components/utils/csv-loader.ts index 73fd5c2..85f8422 100644 --- a/src/components/utils/csv-loader.ts +++ b/src/components/utils/csv-loader.ts @@ -158,5 +158,5 @@ export function processVariables (body: string, currentRow return `{{${key}}}`; } - return body?.replace(/\{\{(\w+)\}\}/g, (_, key) => `${replaceProp(key)}`) || ''; + return body?.replace(/\{\{([^}]+)\}\}/g, (_, key) => `${replaceProp(key)}`) || ''; }