当前位置:网站首页>解决 uni-starter 使用本地函数可以登录微信 但是使用云函数登录失败
解决 uni-starter 使用本地函数可以登录微信 但是使用云函数登录失败
2022-07-24 13:58:00 【No Bug】
解决方案:【到 uni-app 运行后生成的小程序代码】中的【project.config.json】文件中添加【"cloudfunctionRoot": "cloudfunctions/"】配置项,【cloudfunctions】是存放所有云函数的文件夹,注意:一定要是【小程序代码文件夹】中的【project.config.json】文件中修改,代码如下:
【project.config.json文件】
{
"appid": "xxxxxxxxxx",
"setting": {},
"cloudfunctionRoot": "cloudfunctions/" /*在这里写上存放云函数文件夹名称*/
}
边栏推荐
- Network security -- Service Vulnerability scanning and utilization
- Soft link, hard link
- Sringboot-plugin-framework 实现可插拔插件服务
- NOIP2021 T2 数列
- Flink advanced features and new features (VIII) V2
- JS get object attribute value
- Editor formula
- How to build and run WordPress on raspberry pie
- 微信小程序 TODO案例
- [enlightenment -51]: since people are doomed to die, why should they live?
猜你喜欢

2022.7.22 simulation match

uni-app 背景音频 熄屏或者退回桌面之后不在播放

OWASP zap security testing tool tutorial (Advanced)

Network security - war backdoor deployment

Sringboot plugin framework implements pluggable plug-in services

Network security - error injection

Remove the treasure box app with the green logo that cannot be deleted from iPhone

CSDN garbage has no bottom line!

Nmap security testing tool tutorial

Solve the problem of repeated clicking of button uibutton
随机推荐
Error importing header file to PCH
Csp2021 T3 palindrome
R language uses the sum function of epidisplay package to calculate the descriptive statistical summary information of the specified variables in dataframe under different grouping variables, visualiz
Network security - error injection
如何在树莓派上搭建运行 WordPress
数据湖系列文章
Afnetworking data raw request mode
Detailed explanation of switch link aggregation [Huawei ENSP]
An error is reported when using activiti to create a database table,
通配符(泛域名)SSL证书
Network security - file upload blacklist bypass
【无标题】
交换机链路聚合详解【华为eNSP】
Flex layout
Network security - Cookie injection
网络安全——文件上传黑名单绕过
Nmap security testing tool tutorial
[机缘参悟-51]:既然人注定要死亡,为什么还要活着?
字符串——459. 重复的子字符串
网络安全——文件上传白名单绕过