小程序插件中不能使用wx.login api

发布于 6 年前作者 yanshi14489 次浏览最后编辑 6 年前来自 ask

小程序插件中不能使用wx.login api, 怎么解决

2 回复
guiyingzhu
guiyingzhu1 楼6 年前

是的,是不支持的。

目前,允许插件调用的 API 及其对应版本要求如下

https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/api-limit.html

epeng
epeng2 楼4 年前

如果我想在小程序插件中使用一些被限制的API有什么好的办法吗?