|
@@ -78,13 +78,13 @@
|
|
|
},
|
|
},
|
|
|
onTabChange(index) {
|
|
onTabChange(index) {
|
|
|
//判断是否已经授权
|
|
//判断是否已经授权
|
|
|
- if (uni.getStorageSync('Authorization-status')) {
|
|
|
|
|
|
|
+ // if (uni.getStorageSync('Authorization-status')) {
|
|
|
this.handleTabSwitch(index);
|
|
this.handleTabSwitch(index);
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
- this.handleLogin();
|
|
|
|
|
- this.showTabbar = true;
|
|
|
|
|
- this.selectedIndex = index;
|
|
|
|
|
|
|
+ // return;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.handleLogin();
|
|
|
|
|
+ // this.showTabbar = true;
|
|
|
|
|
+ // this.selectedIndex = index;
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
},
|
|
},
|