最近两天一直报错,看了是接口授权问题,请问具体是什么原因?
APP-SERVICE-SDK:getAccountInfoSync:fail rejected due to no permission currently in plugin
Error: APP-SERVICE-SDK:getAccountInfoSync:fail rejected due to no permission currently in plugin
at o.r.<computed> [as getAccountInfoSync] (https://lib/WASubContext.js:2:1467445)
at Function.<anonymous> (https://usr/__plugin__/wx2b03c6e691cd7370/appservice.js:14414:22)
at https://lib/WASubContext.js:2:113068
at Function.<anonymous> (https://lib/WASubContext.js:2:95115)
at https://lib/WASubContext.js:2:101656
请具体描述问题出现的流程,并提供能复现问题的简单代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html