提交 d0825a2e 编写于 作者: H hdx

fix(uni-app1: unicloud-db): 继续上次的提交

上级 db199043
......@@ -394,7 +394,7 @@ export default {
loadingTitle = ''
} = {}) {
if (!needConfirm) {
this._doUpdate(id, action, success, fail, complete, needConfirm, needLoading, loadingTitle)
this._doUpdate(id, value, action, success, fail, complete, needConfirm, needLoading, loadingTitle)
return
}
uni.showModal({
......@@ -405,11 +405,11 @@ export default {
if (!res.confirm) {
return
}
this._doUpdate(id, action, success, fail, complete, needConfirm, needLoading, loadingTitle)
this._doUpdate(id, value, action, success, fail, complete, needConfirm, needLoading, loadingTitle)
}
})
},
_doUpdate (id, action, success, fail, complete, needConfirm, needLoading, loadingTitle) {
_doUpdate (id, value, action, success, fail, complete, needConfirm, needLoading, loadingTitle) {
if (needLoading) {
uni.showLoading({
title: loadingTitle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册