uni.login({
provider: "weixin",
success: (res) => {
// 打断点执行不到这里,也没有报错
console.log(res)
},
});
- 发布:2023-03-20 22:53
- 更新:2023-03-21 10:07
- 阅读:197
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: ventura 13.2.1 (22D68)
HBuilderX类型: 正式
HBuilderX版本号: 3.7.1
第三方开发者工具版本号: 1.06
基础库版本号: 不清楚
项目创建方式: HBuilderX
示例代码:
操作步骤:
无
无
预期结果:
得到结果
得到结果
实际结果:
无
无
a***@163.com (作者)
提示的这个:{errMsg: "login:fail method 'uni.login' not supported"}
2023-03-21 20:04
a***@163.com (作者)
知道了,需要在微信开发工具里运行,多谢
2023-03-21 20:12