From bb09063ec167d6e7cb09f7017f93b1b10a805e31 Mon Sep 17 00:00:00 2001 From: QLXWS <2223081789@qq.com> Date: Thu, 7 Sep 2023 16:45:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E5=AF=B9=E4=B8=80?= =?UTF-8?q?=E7=A7=8D=E6=89=A9=E5=B1=95=E8=BF=90=E7=AE=97=E7=AC=A6=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=EF=BC=88=E5=BD=A2=E5=A6=82=20...xxx=EF=BC=89=E7=9A=84?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taroize/src/wxml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taroize/src/wxml.ts b/packages/taroize/src/wxml.ts index dbe010d122db..5fdc2566b5fa 100644 --- a/packages/taroize/src/wxml.ts +++ b/packages/taroize/src/wxml.ts @@ -890,7 +890,7 @@ function parseAttribute (attr: Attribute) { } else { throw new Error(err) } - } else if (content.includes(':') || (content.includes('...') && content.includes(','))) { + } else if (content.includes(':') || (content.includes('...'))) { const file = parseFile(`var a = ${attr.value!.slice(1, attr.value!.length - 1)}`, { plugins: ['objectRestSpread'], })