feat: 订单详情也接口字段对接

This commit is contained in:
duanshuwen
2025-07-31 13:38:12 +08:00
parent b527e6d206
commit 283530c0e2
3 changed files with 69 additions and 21 deletions

View File

@@ -24,7 +24,6 @@ import OrderInfo from "./components/OrderInfo/index.vue";
const orderData = ref({});
onLoad(async ({ orderId }) => {
console.log("onShow", orderId);
const res = await userOrderDetail({ orderId });
orderData.value = res.data;
@@ -34,4 +33,4 @@ onLoad(async ({ orderId }) => {
<style lang="scss" scoped>
@import "./styles/detail.scss";
</style>
</style>