云函数更新数据库出错

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

云函数 call 数据库 command.set 出错:

同样的代码,0.0.19版本可以运行,0.0.24版本就出错:

[{‘$set’ is empty. You must specify a field like so: {$set: {<field>: …}}}]

在小程序端是可以运行的。

2 回复
tangjing
tangjing1 楼6 年前

后来解决了吗?我也遇到了。

gang44
gang442 楼5 年前

大家跳转小程序的时候有没有遇到过这个问题啊?navigateToMiniProgramAppIdList