Commit 14b9fb7d by cen

fix: loading取消

1 parent 37745a5a
...@@ -399,9 +399,13 @@ export default { ...@@ -399,9 +399,13 @@ export default {
}) })
.then(async res => { .then(async res => {
console.log('res:', res) console.log('res:', res)
if (!res.false) { if (res.data.code == 0) {
uni.hideLoading()
if (!res.data.data.false) {
that.$refs.signAgreementPopup.open().then(() => { that.$refs.signAgreementPopup.open().then(() => {
uni.showLoading()
uni.$api.evaluationApi.sendCustodyAgreement({ ...that.signAgreementObj, evalOrderNo: e.evalOrderNo }).then(res => { uni.$api.evaluationApi.sendCustodyAgreement({ ...that.signAgreementObj, evalOrderNo: e.evalOrderNo }).then(res => {
console.log(res, 'res')
if (res.data.code == 0) { if (res.data.code == 0) {
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showToast({
...@@ -426,6 +430,7 @@ export default { ...@@ -426,6 +430,7 @@ export default {
}) })
} }
} }
}
}) })
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!