@@ -203,7 +203,11 @@
}
},
watch: {
- noticeCount() {
+ noticeCount(n, o) {
+ if (n == o) {
+ return;
+ }
+ console.log(1);
this.$store.dispatch('user/setMenuBadge', {
path: '/page-wt/message',
value: this.noticeCount,