From 66d611b222e2af1dc050a13dd1c9c99340365aa3 Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 28 Jun 2022 11:00:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(mp):=20=E4=BC=98=E5=8C=96=E6=8F=92=E6=A7=BD?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=B7=B1=E5=BA=A6=EF=BC=8C=E4=BF=9D=E7=95=99?= =?UTF-8?q?=20if=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/compiler-mp-alipay.spec.js | 4 +- .../__tests__/compiler-mp-baidu.spec.js | 4 +- .../__tests__/compiler-mp-weixin.spec.js | 16 +++--- .../lib/template/traverse.js | 50 +++++++++++-------- 4 files changed, 41 insertions(+), 33 deletions(-) diff --git a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js index 8e6ff3c3e..14c71afe5 100644 --- a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js @@ -116,7 +116,7 @@ describe('mp:compiler-mp-alipay', () => { ) assertCodegen( '