jufubao-base 1.0.269-beta7 → 1.0.269-beta8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
console.log(this.getTokenForKey('user_level'),'user_leveluser_level');
|
|
328
328
|
console.log(this.projectAttr.headers['X-Site-Group'],'this.$configProject');
|
|
329
329
|
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
330
|
-
this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'?'Y':'N'
|
|
330
|
+
// this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'?'Y':'N'
|
|
331
331
|
this.init(this.container);
|
|
332
332
|
},
|
|
333
333
|
methods: {
|
|
@@ -385,6 +385,7 @@
|
|
|
385
385
|
res.vip_expire_time = this.$xdUniHelper.getDate(
|
|
386
386
|
res.vip_expire_time * 1000
|
|
387
387
|
).fullDate;
|
|
388
|
+
this.is_vip = res.user_level === 'VIP' ? 'Y' : 'N';
|
|
388
389
|
this.userInfo = res;
|
|
389
390
|
}).catch(error => {
|
|
390
391
|
console.log('getBaseUserInfo', error)
|
|
@@ -491,7 +492,10 @@
|
|
|
491
492
|
this.$xdUniHelper.navigateTo({
|
|
492
493
|
url: this.codePath
|
|
493
494
|
})
|
|
494
|
-
}
|
|
495
|
+
},
|
|
496
|
+
onJfbShow(options) {
|
|
497
|
+
this.onJfbLoad(options);
|
|
498
|
+
},
|
|
495
499
|
}
|
|
496
500
|
}
|
|
497
501
|
|