Skip to content

Commit

Permalink
feat: support toutiao rtc-room
Browse files Browse the repository at this point in the history
  • Loading branch information
Hental committed Dec 8, 2023
1 parent 1f929c4 commit 4fed7f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/uni-template-compiler/lib/mp.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ const tags = {
'page-container',
'page-meta',
'lottie'
],
// 抖音小程序平台独有组件
'mp-toutiao': [
'rtc-room',
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4444,7 +4444,8 @@ var TAG_MAP = {
'live-pusher': 'live-pusher',
'web-view': 'web-view',
'open-data': 'open-data',
'official-account': 'official-account'
'official-account': 'official-account',
'rtc-room': 'rtc-room'
}

function createFindEventTypeFn (eventTypeMap) {
Expand Down
3 changes: 2 additions & 1 deletion src/core/helpers/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ module.exports = [
'uni-textarea',
'uni-video',
'uni-view',
'uni-web-view'
'uni-web-view',
'uni-rtc-room'
]

0 comments on commit 4fed7f3

Please sign in to comment.