修复下单页面历史订单已支付,已下单悬浮按钮未隐藏问题

This commit is contained in:
YeMingfei666 2025-04-28 11:41:19 +08:00
parent 7c182023a5
commit 1f59082bcb
1 changed files with 15 additions and 1 deletions

View File

@ -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(() => {