收藏
回答

小程序接入了直播组件,模拟器代码显示正常,真机会展示报错,请问下是什么原因导致的?

AppID
wxfbde50fabb374c70
 "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)


不知道是什么原因,麻烦有知道的帮忙留言,在此先谢谢了


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签