Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -50,7 +50,7 @@ Page({ | @@ -50,7 +50,7 @@ Page({ | ||
| 50 | */ | 50 | */ |
| 51 | onShow: function () { | 51 | onShow: function () { |
| 52 | PubSub.emit('custom-tab-bar') | 52 | PubSub.emit('custom-tab-bar') |
| 53 | - if(this.data.list[this.tabType].length<1){ | 53 | + if(this.data.list[this.tabType].length<1 || getApp().meListType!=this.tabType){ |
| 54 | if(getApp().meListType!=this.tabType) { | 54 | if(getApp().meListType!=this.tabType) { |
| 55 | if (getApp().meListType) { | 55 | if (getApp().meListType) { |
| 56 | this.switchType({ | 56 | this.switchType({ |
-
Please register or login to post a comment