jufubao-base 1.0.276 → 1.0.277-beta1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.276",
3
+ "version": "1.0.277-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -381,6 +381,11 @@
381
381
  data: {}
382
382
  }).then(res => {
383
383
  res = res || {};
384
+ // #ifdef MP-WEIXIN
385
+ if(res.is_need_clear_token){
386
+ this.jfbAuthorize.removeToken('access');
387
+ }
388
+ // #endif
384
389
  if(res['head_url']) res['head_url'] = getServiceUrl(res['head_url'], 'size2')
385
390
  res.vip_expire_time = this.$xdUniHelper.getDate(
386
391
  res.vip_expire_time * 1000