提交 18413394 编写于 作者: d-u-a's avatar d-u-a

fix(unicloud): 同步 v2 unicloud-db组件代码

上级 8a95aba2
...@@ -319,7 +319,7 @@ export default { ...@@ -319,7 +319,7 @@ export default {
db = db.action(action) db = db.action(action)
} }
db.collection(this.collection).add(value).then((res) => { db.collection(this._getCollection()).add(value).then((res) => {
success && success(res) success && success(res)
if (showToast) { if (showToast) {
uni.showToast({ uni.showToast({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册