修复:解决隐私政策查看问题;解决积分支付bug;
This commit is contained in:
@@ -59,14 +59,16 @@ const orderType = ref<string>('')
|
||||
onLoad(async () => {
|
||||
try {
|
||||
// 获取商品列表
|
||||
uni.$on('selectedGoods', (data: IOrderGoods) => {
|
||||
await uni.$on('selectedGoods', async (data: IOrderGoods) => {
|
||||
// 获取用户信息
|
||||
await getUserInfo()
|
||||
|
||||
// 处理商品数据
|
||||
console.log('监听到传入的商品数据:', data)
|
||||
isLengthen.value = data.state !== null
|
||||
orderType.value = data.orderType || ''
|
||||
goodsList.value = [ data ]
|
||||
})
|
||||
// 获取用户信息
|
||||
getUserInfo()
|
||||
} catch (error) {
|
||||
console.error('解析商品数据失败:', error)
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user