Fix:3992 【商城小程序】我的礼品卡—收礼方订单未显示订单状态

This commit is contained in:
LinCyJang
2025-07-08 23:49:25 +08:00
parent 6de73ad9ea
commit 69132a4e48
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -532,7 +532,7 @@ export default {
...mapGetters(["userInfo"]) ...mapGetters(["userInfo"])
}, },
onLoad(opts) { onLoad(opts) {
this.isGift = !!opts.isGift this.isGift = Number(opts.isGift || 0) === 1
}, },
onShow() { onShow() {
const chooseAddress = uni.getStorageSync('chooseAddress') || {} const chooseAddress = uni.getStorageSync('chooseAddress') || {}
+1 -1
View File
@@ -410,7 +410,7 @@ export default {
path: '/pages/order/OrderDetails/index', path: '/pages/order/OrderDetails/index',
query: { query: {
id: item.orderId, id: item.orderId,
isGift: 1 isGift: this.cateIndex === 0 ? 1 : 0
} }
}) })
} }