重要的事情说三遍!!!!
真机调试没问题~!
真机调试没问题~!
真机调试没问题~!
开发者工具编译启动直接报错
wx.getAccountInfoSync is not a function;at api request success callback function
TypeError: wx.getAccountInfoSync is not a function
at Function.init (http://127.0.0.1:64471/game/sdk/nbsdk.js:96:10)
at Object.init (http://127.0.0.1:64471/game/sdk/wxsdk.js:16:20)
at r.init (http://127.0.0.1:64471/game/code/pack0/code.js:1:3881153)
at t.ProcedureInitialize._init (http://127.0.0.1:64471/game/code/pack1/code.js:1:388917)
at A.run (http://127.0.0.1:64471/game/code/lib/library.js:1:17582)
at Qe.onManifestLoaded (http://127.0.0.1:64471/game/code/lib/library.js:1:445485)
at R.runWith (http://127.0.0.1:64471/game/code/lib/library.js:1:17827)
at Qe.event (http://127.0.0.1:64471/game/code/lib/library.js:1:18424)
at $e._endLoad (http://127.0.0.1:64471/game/code/lib/library.js:1:363023)
at qe.s (http://127.0.0.1:64471/game/code/lib/library.js:1:362374)(env: Windows,mg,1.06.2208010; lib: 2.11.1)
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
小程序基础版本库太低了,升级一下就好。
在小程序开发管理后台可以看当前的版本。