修复下单页面历史订单已支付,已下单悬浮按钮未隐藏问题
This commit is contained in:
@@ -1627,9 +1627,23 @@
|
|||||||
await proxy.$onLaunched;
|
await proxy.$onLaunched;
|
||||||
})
|
})
|
||||||
|
|
||||||
onShow(() => {
|
onShow(async() => {
|
||||||
// 监听页面显示和隐藏
|
// 监听页面显示和隐藏
|
||||||
onShowconnect()
|
onShowconnect()
|
||||||
|
let res = await APIhistoryOrder({
|
||||||
|
tableCode: uni.cache.get('tableCode'),
|
||||||
|
})
|
||||||
|
if(res){
|
||||||
|
orderinfo.value = {
|
||||||
|
id: res.id,
|
||||||
|
detailMap: res.detailMap,
|
||||||
|
placeNum: res.placeNum
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
orderinfo.value = {
|
||||||
|
id:''
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
onHide(() => {
|
onHide(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user