修复订单退租失败问题

This commit is contained in:
geng.tang@qq.com
2024-01-29 15:31:45 +08:00
parent 048aa2720b
commit 4a2f46cb2c
3 changed files with 29 additions and 12 deletions

View File

@@ -328,6 +328,8 @@
if(res.code == 0){
app.$success("下单成功")
setTimeout(() => {
uni.hideLoading({
})
uni.redirectTo({
url: '/pages/order/index'
})
@@ -335,6 +337,8 @@
}
else {
app.$error(res.errMsg)
uni.hideLoading({
})
}
})
@@ -342,16 +346,19 @@
});
} else {
checkFreeze(orderId).then((res) => {
console.log(res)
if(res.code == 0){
app.$success("下单成功")
setTimeout(() => {
uni.hideLoading({
})
uni.redirectTo({
url: '/pages/order/index'
})
}, 100)
}
else {
uni.hideLoading({
})
app.$error(res.errMsg)
}
})