Commit 00e10f0f318db1a3b40d77105f35338d104af0a9
1 parent
92eda369
党建项目积分首页判断用户首页是否登录
Showing
1 changed file
with
4 additions
and
2 deletions
src/pages/partyBuildingPointsMall/partyBuildingPointsMall.vue
| @@ -368,8 +368,10 @@ export default { | @@ -368,8 +368,10 @@ export default { | ||
| 368 | /*设置标题 */ | 368 | /*设置标题 */ |
| 369 | this.$set(this.backs, 'title', "积分商城"); | 369 | this.$set(this.backs, 'title', "积分商城"); |
| 370 | } | 370 | } |
| 371 | - // 获取积分商城商品信息接口 | ||
| 372 | - this.integralMallIndex(); | 371 | + if( this.$parent.checkLogin()){ |
| 372 | + // 获取积分商城商品信息接口 | ||
| 373 | + this.integralMallIndex(); | ||
| 374 | + } | ||
| 373 | }, | 375 | }, |
| 374 | mounted () { | 376 | mounted () { |
| 375 | // 如果是App外,设置唤起App和微信内分享参数 | 377 | // 如果是App外,设置唤起App和微信内分享参数 |