- iogame游戏框架的接口,在微信开发者工具里运行正常,在真机预览时没反应,也不报错!
const loginRequest: LoginByPhonePasswordReq = { $typeName: "pb.common.LoginByPhonePasswordReq", // 添加类型标识 phone: account, password: password, }; LoginAction.ofLoginByPhonePassword(loginRequest, result => { // ioGame: your biz code. // UserInfo 账号信息 const value = result.getValue(UserInfoSchema); result.log(value); console.log("结果1:", result); if (result.message.responseStatus !== 0) { this.errorLabel.node.active = true; this.errorLabel.string = result.message.validMsg; oops.gui.toast(`错误!【${result.message.validMsg}】`); } else { oops.storage.set("user_token", value.token); const userModel = UserModel.getInstance(); userModel.playerId = value.id; userModel.username = value.username; oops.gui.remove(UIID.Login); oops.gui.open(UIID.ServerButton); } });
08-14 - TextEncoder的兼容性报错,请问怎么解决?
typeerror: undefined="undefined" is="is" not="not" a="a" constructor="constructor" evaluating="evaluating" new="new" globalthis="globalthis"> @https://usr/game.js:64:100791 e@https://usr/game.js:
07-30 - 请支持用户自建商城
https://developers.weixin.qq.com/doc/channels/API/apimgnt/getRidInfo.html 现在抖音是不支持用户自建小程序商城的,这就导致了抖音商城的商品混乱重复率高,兴趣消费无法普及。我觉得我们微信本身就有大量的小程序商城用户,如果容许视频链接跳转小程序商城的话会极大地活跃市场,引得大量的商家和用户涌入视频好,到时超越抖音不是梦想。请考虑!
2023-04-17 - 真机微信中手动打开蓝屏,其他测试都正常。
现在在手机中用图标打开,游戏是蓝屏,其他测试都正常。这种蓝屏是正常现象吗?
2020-05-30 - 真机测试没有声音,有时会出错,开发者工具中一切正常。
[图片] 有时出现有时没有,并且微信工具离一切正常,用华为手机测试没有声音。
2020-05-30