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 8c061deeff7ec87e0c116ae807ca920bfd4221d4..bce6477c302d512b9201545189474e897c574328 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 95fc45b3be341bc07d96f0d6b85e1fa5f5c8ec3c..79fe6a9e699949759f4c0bc5ae2aa8196aadf81d 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': [