|
@@ -88,7 +88,10 @@ export class MyComponent implements OnInit {
|
|
|
console.log(this.orderList);
|
|
|
const { fans, follow } = data.data[0];
|
|
|
this.userObj = { fans, follow, friendly_degree: 0 };
|
|
|
- this.userObj.vip = await this.accServ.userVip;
|
|
|
+ this.userObj.vip = this.accServ.userVip;
|
|
|
+ if (!this.userObj.vip) {
|
|
|
+ this.userObj.vip = await this.accServ.getVip();
|
|
|
+ }
|
|
|
loading.dismiss();
|
|
|
}
|
|
|
// 获取用户信息
|