|
...
|
...
|
@@ -46,17 +46,20 @@ Page({ |
|
|
|
*/
|
|
|
|
onShow: function () {
|
|
|
|
PubSub.emit('custom-tab-bar')
|
|
|
|
if(getApp().meListType!=this.tabType || this.data.list[this.tabType].length<1){
|
|
|
|
if(getApp().meListType){
|
|
|
|
this.switchType({
|
|
|
|
currentTarget:{
|
|
|
|
dataset:{
|
|
|
|
type:getApp().meListType,
|
|
|
|
if(this.data.list[this.tabType].length<1){
|
|
|
|
if(getApp().meListType!=this.tabType) {
|
|
|
|
if (getApp().meListType) {
|
|
|
|
this.switchType({
|
|
|
|
currentTarget: {
|
|
|
|
dataset: {
|
|
|
|
type: getApp().meListType,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}else{
|
|
|
|
this.getListData();
|
|
|
|
})
|
|
|
|
getApp().meListType = '';
|
|
|
|
} else {
|
|
|
|
this.getListData();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
...
|
...
|
|