html52.com
我爱小程序-开发者交流社区

小程序云开发问题求解?

问题模块 框架类型 问题类型 终端类型 AppID 基础库版本
云开发 小程序 Bug 工具 wx1858f8b1934f62b6 2.4.0

- 当前 Bug 的表现(可附上截图)

- 当前 Bug 的表现(可附上截图)- 预期表现

- 预期表现


- 复现路径


- 提供一个最简复现 Demo

wx.cloud.callFunction({

name: 'get_mineral_classes',

data: {}

}).then(result => {

console.log(result)

let res = result.result.data;

let class_tree_data = res.data

let tree = new tree_util(class_tree_data, 'id', 'pid');

this.setData({

tree_data: tree.toTree()

})

app.globalData.class_tree = this.data.tree_data

cal_func(undefined, app.globalData.config.search_result_num)

})


这个问题是云服务除了问题吗?

网友回复

周公子:

更新一下云端的 wx-server-sdk 看看

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付