|
@@ -218,6 +218,7 @@
|
|
|
console.log('infodata',data)
|
|
|
this.productParam.userId = this.cartParam.userId = this.postageParam.userId = userInfo.userId ? userInfo.userId : 0
|
|
|
this.confirmParam.clubId = userInfo.clubId ? userInfo.clubId : 0
|
|
|
+ console.log('userInfo',this.productParam.userId)
|
|
|
if(option.type =='prodcut'){
|
|
|
this.confirmType = 1
|
|
|
this.productParam.productCount = data.data.productCount
|
|
@@ -306,12 +307,13 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getAddressData(){//获取地址信息
|
|
|
+ async getAddressData(){//获取地址信息
|
|
|
+ const userInfo = await this.$api.getStorage()
|
|
|
this.UserService.QueryAddressList(
|
|
|
{
|
|
|
pageNum:1,
|
|
|
pageSize:1,
|
|
|
- userId:this.productParam.userId,
|
|
|
+ userId:userInfo.userId,
|
|
|
}
|
|
|
).then(response =>{
|
|
|
let data = response.data
|