@@ -189,6 +189,8 @@ export default {
this.$store.commit('tabNum', nums);
}
})
+ }else{
+ this.$store.commit('tabNum', 0);
},
onShareAppMessage(res) {
@@ -111,7 +111,9 @@ export default {
onLoad() {},
onShow() {
this.isLogin = this.$method.isLogin();
+ if(this.isLogin){
this.getNums();
+ }
// this.$store.dispatch('changeTabsNum')
methods: {