提交 d0825a2e 编写于 作者: H hdx

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

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