jufubao-third 1.0.14-beta1 → 1.0.14-beta2

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-third",
3
- "version": "1.0.14-beta1",
3
+ "version": "1.0.14-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -928,6 +928,10 @@
928
928
  },
929
929
  onJfbShow(options) {
930
930
  console.log('event.onJfbShow', options)
931
+ this.isVip = this.getTokenForKey('user_level') === 'VIP';
932
+ if (this.$configProject['isPreview']) {
933
+ this.isVip=true
934
+ }
931
935
  },
932
936
  onJfbHide(options) {
933
937
  console.log('event.onJfbHide', options)