Fix:4309 【旅居商城小程序】旅居收礼页面无数据
This commit is contained in:
@@ -53,7 +53,7 @@ export default {
|
||||
})
|
||||
return {
|
||||
title: '礼笺轻启,礼藏心意',
|
||||
path: `/pkg_user/views/gift/receive?code=${this.giftCard.code}&isTravelGroup=${this.isTravelGroup}`,
|
||||
path: `/pkg_user/views/gift/receive?code=${this.giftCard.code}&isTravelGroup=${this.isTravelGroup ? 1 : 0}`,
|
||||
imageUrl: this.giftCard.image
|
||||
}
|
||||
},
|
||||
@@ -69,10 +69,15 @@ export default {
|
||||
* 获取旅居团购礼品卡订单详情
|
||||
*/
|
||||
getSojoumGroupBuyGiftDetail(code) {
|
||||
uni.showLoading({
|
||||
title: '加载中...',
|
||||
mask: true
|
||||
})
|
||||
fetchSojoumGroupBuyGiftDetail({
|
||||
code: code
|
||||
}).then(res => {
|
||||
this.giftCard = res.data || {}
|
||||
uni.hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user