微信调试工具里,wx.getAccountInfoSync()返回evnversion的值的问题?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 20:59 2516 0 全屏看文

AI助手支持GPT4.0

微信调试工具里,wx.getAccountInfoSync()返回evnversion的值的问题?

在微信调试工具里,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)。

-EOF-

AI助手支持GPT4.0