From e18ddc3778229c3986e3ec430097e94eea22e413 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Wed, 24 Apr 2024 20:58:33 +0800 Subject: [PATCH] =?UTF-8?q?test(mp-alipay):=20=E6=94=AF=E6=8C=81=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=BC=80=E6=94=BE?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/compiler-mp-alipay.spec.js | 14 ++++++++++++++ packages/uni-template-compiler/lib/mp.js | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 8c061deeff..bce6477c30 100644 --- a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js @@ -354,4 +354,18 @@ describe('mp:compiler-mp-alipay', () => { '' ) }) + // join-group-chat + it('component: join-group-chat', () => { + assertCodegen( + '', + '' + ) + }) + // subscribe-message + it('component: subscribe-message', () => { + assertCodegen( + '', + "" + ) + }) }) diff --git a/packages/uni-template-compiler/lib/mp.js b/packages/uni-template-compiler/lib/mp.js index 95fc45b3be..79fe6a9e69 100644 --- a/packages/uni-template-compiler/lib/mp.js +++ b/packages/uni-template-compiler/lib/mp.js @@ -129,7 +129,9 @@ const tags = { 'mkt', 'page-container', 'page-meta', - 'lottie' + 'lottie', + 'join-group-chat', + 'subscribe-message' ], // 抖音小程序平台独有组件 'mp-toutiao': [ -- GitLab