|
|
@@ -79,6 +79,9 @@
|
|
|
}
|
|
|
if(str == 'TheCurrentSession'){
|
|
|
this.$store.dispatch("SET_MEG", false);
|
|
|
+ this.megnum = 0;
|
|
|
+ this.$store.dispatch("SET_MEGNNUM", this.megnum);
|
|
|
+ sessionStorage.removeItem('Messagenum');
|
|
|
}else {
|
|
|
this.$store.dispatch("SET_MEG", true);
|
|
|
}
|
|
|
@@ -89,16 +92,16 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- computed: {
|
|
|
- getTitleActive() {
|
|
|
- return this.$store.getters.get_megnum
|
|
|
- }
|
|
|
- },
|
|
|
- watch: {
|
|
|
- getTitleActive(val){
|
|
|
- this.megnum = this.megnum = val;
|
|
|
- }
|
|
|
- },
|
|
|
+ // computed: {
|
|
|
+ // getTitleActive() {
|
|
|
+ // return this.$store.getters.get_megnum
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // watch: {
|
|
|
+ // getTitleActive(val){
|
|
|
+ // this.megnum = this.megnum = val;
|
|
|
+ // }
|
|
|
+ // },
|
|
|
mounted() {
|
|
|
this.titleActive = this.$store.getters.get_navState;
|
|
|
this.logo = sessionStorage.getItem('logo');
|