|
|
@@ -78,7 +78,6 @@
|
|
|
path = "/" + str
|
|
|
}
|
|
|
if(str == 'TheCurrentSession'){
|
|
|
- this.megnum = 0;
|
|
|
this.$store.dispatch("SET_MEG", false);
|
|
|
}else {
|
|
|
this.$store.dispatch("SET_MEG", true);
|
|
|
@@ -90,20 +89,21 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- computed: {
|
|
|
- getTitleActive() {
|
|
|
- return this.$store.getters.get_megnum
|
|
|
- }
|
|
|
- },
|
|
|
- watch: {
|
|
|
- getTitleActive(val){
|
|
|
- this.megnum = val;
|
|
|
- }
|
|
|
- },
|
|
|
+ // computed: {
|
|
|
+ // getTitleActive() {
|
|
|
+ // return this.$store.getters.get_megnum
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // watch: {
|
|
|
+ // getTitleActive(val){
|
|
|
+ // this.megnum = val;
|
|
|
+ // }
|
|
|
+ // },
|
|
|
mounted() {
|
|
|
this.titleActive = this.$store.getters.get_navState;
|
|
|
this.logo = sessionStorage.getItem('logo');
|
|
|
- this.showMeg = this.$store.getters.get_meg
|
|
|
+ this.showMeg = this.$store.getters.get_meg;
|
|
|
+ this.megnum = this.$store.getters.get_megnum
|
|
|
},
|
|
|
};
|
|
|
</script>
|