在微信调试工具里,wx.getAccountInfoSync()返回evnversion的值的一直都是release(不正常), 真机调试就为develop(正常)。
测试: 随便创建一个小游戏项目, 在微信调试工具查看wx.getAccountInfoSync的evnversion返回值一直为release
在微信调试工具里,wx.getAccountInfoSync()返回evnversion的值的一直都是release(不正常), 真机调试就为develop(正常)。
测试: 随便创建一个小游戏项目, 在微信调试工具查看wx.getAccountInfoSync的evnversion返回值一直为release
In the wechat debugging tool, wx.getAccountInfoSync () the value returned by evnversion is always "release", and the real debugging is "develop". Test: randomly create a small game project and view it in wechat debugging tool wx.getAccountInfoSync The evnversion return value of is always release
回答:
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。