"plugins" : {
"live-player-plugin" : {
"version" : "1.3.5",
"provider" : "wx2b03c6e691cd7370"
}
},
"version" : "1.3.5",
}
uni-app 我接入了这段代码,发现模拟器上展示正常,在真机上面各种报错,比如:TypeError: Function.prototype.apply was called on WeakMap.prototype.get, which is a string and not a function
at t.exports (https://usr/app-service.js:7606:409359)
at 55 (https://usr/app-service.js:7606:398141)
at m (https://usr/app-service.js:7603:1047)
at 54 (https://usr/app-service.js:7606:393881)
at m (https://usr/app-service.js:7603:1047)
at 53 (https://usr/app-service.js:7606:393791)
at m (https://usr/app-service.js:7603:1047)
at Object.<anonymous> (https://usr/app-service.js:7606:374956)
at 39 (https://usr/app-service.js:7606:377230)
at m (https://usr/app-service.js:7603:1047)
[Vue warn]: Error in created hook: "TypeError: Cannot read properties of undefined (reading 'getters')"found in
---> <MTab> at pages/mail/mail/components/m-tab.vue
pages/mail/mail/index.vue
[Vue warn]: Error in onShow hook (Promise/async): "TypeError: Cannot read properties of undefined (reading 'config')"
(found in pages/mail/mail/index.vue)
不知道是什么原因,麻烦有知道的帮忙留言,在此先谢谢了
没有开通直播权限导致的,并不是引用一下直播组建就算接入了,这是两个完全不同的概念。
要接入直播功能可以参考一下这个帖子:
https://developers.weixin.qq.com/community/minihome/doc/000604eb0fc548f99de16671d61c00