Committed by
李奇
修复登录异常弹出层
Showing
3 changed files
with
4 additions
and
9 deletions
@@ -51,11 +51,6 @@ Component({ | @@ -51,11 +51,6 @@ Component({ | ||
51 | */ | 51 | */ |
52 | methods: { | 52 | methods: { |
53 | fetchCode() { | 53 | fetchCode() { |
54 | - if (!app.getUid()) { | ||
55 | - this.triggerEvent('requireauth'); | ||
56 | - return; | ||
57 | - } | ||
58 | - | ||
59 | wx.showLoading({ | 54 | wx.showLoading({ |
60 | mask: true | 55 | mask: true |
61 | }); | 56 | }); |
@@ -439,9 +439,9 @@ Page(Object.assign({ | @@ -439,9 +439,9 @@ Page(Object.assign({ | ||
439 | }, | 439 | }, |
440 | 440 | ||
441 | requireAuth() { | 441 | requireAuth() { |
442 | - this.setData({ | ||
443 | - showAuth: true | ||
444 | - }) | 442 | + // this.setData({ |
443 | + // showAuth: true | ||
444 | + // }) | ||
445 | }, | 445 | }, |
446 | _jumpBanner() { | 446 | _jumpBanner() { |
447 | if (this.data.bannerUrl == null) { | 447 | if (this.data.bannerUrl == null) { |
@@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
32 | </group-recommend> | 32 | </group-recommend> |
33 | 33 | ||
34 | <view class="action-bar"> | 34 | <view class="action-bar"> |
35 | - <action-bar wx:if="{{isLogin}}" status="{{actionStatus}}" num="{{myPrizeCount}}" share-uid="{{shareUid}}" act-prize-id="{{actPrizeId}}" bindgetcode="changeActionStatus" bindshare="share" bind:requireauth="requireAuth" | 35 | + <action-bar wx:if="{{isLogin}}" status="{{actionStatus}}" num="{{myPrizeCount}}" share-uid="{{shareUid}}" act-prize-id="{{actPrizeId}}" bindgetcode="changeActionStatus" bindshare="share" |
36 | ></action-bar> | 36 | ></action-bar> |
37 | 37 | ||
38 | <block wx:else> | 38 | <block wx:else> |
-
Please register or login to post a comment