|
|
@@ -162,6 +162,12 @@ export default {
|
|
|
this.userInfo = res.data;
|
|
|
if(this.userInfo.order_num>= this.item.order_num && this.current === 'goods'){
|
|
|
this.current='list'
|
|
|
+ }else if(this.current === 'goods'){
|
|
|
+ this.goodsList.forEach((item)=>{
|
|
|
+ if(item.id*1===this.userInfo.vip_id*1){
|
|
|
+ this.item=item
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
})
|