【已解决】请先调用 init 完成初始化后再调用其他云 API。init 方法可传入一个对象用于设置默认配置,详见文档。; at cloud.callFunction api 解决方案

错误详情:

在这里插入图片描述

解决办法:

在页面中.js文件的最上面直接添加wx. cloud. init()即可。

猜你喜欢

转载自blog.csdn.net/weixin_43899069/article/details/109016770