167 fix(order): 防止订单详情页重复加载或未加载

develop
YunaiV 2025-11-25 14:26:11 +08:00
parent 9c1fddb7b7
commit 44eec40775
1 changed files with 3 additions and 3 deletions

View File

@ -427,8 +427,8 @@
}
onShow(async () => {
// onShow,
// onLoadstate.orderInfo.idonShow
// onShow ,
// onLoad state.orderInfo.id onShow
if (state.orderInfo.id) {
await getOrderDetail(state.orderInfo.id);
}
@ -450,7 +450,7 @@
}
}
state.orderInfo.id = id;
// state.orderInfo.iddetailonShowdetail
// state.orderInfo.id detail onShow detail
await getOrderDetail(state.orderInfo.id);
});
</script>