问题描述:游戏添加更多游戏功能,抖音无法加载游戏
报错截图、相关bug:var winSize = wx.getSystemInfoSync();
MeSDKNative.MoreGame =tt.createMoreGamesButton({
type: "image",
image: "images/gengduo_btn.png",
//text:"更多游戏",
style: {
left: winSize.windowWidth*0.9-50,
top: winSize.windowHeight*0.1,
width: 50,
height: 50,
lineHeight: 40,
//backgroundColor: "#ff0000",
textColor: "#ffffff",
textAlign: "center",
fontSize: 14,
borderRadius: 4,
borderWidth: 0,
borderColor: '#ff0000'
},
appLaunchOptions: [
{
appId: "ttxxxxd",
query: "foo=bar&baz=qux",
extraData: {}
}
],
onNavigateToMiniGame(res) {
console.log("跳转其他小游戏", res)
}
});
MeSDKNative.MoreGame.onTap(() => {
console.log('点击更多游戏')
});
复现步骤:
联系方式:15110226828