Explorar o código

update service

luke %!s(int64=6) %!d(string=hai) anos
pai
achega
82b88e6371
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/src/components/messageCenter.vue

+ 1 - 1
service/src/components/messageCenter.vue

@@ -113,7 +113,7 @@
 				// console.log('22',data)
 				this.drawer = data;
 				this.userID =  JSON.parse(localStorage.getItem('user')).id;
-				this.userName = this.$store.getters.get_user_info.user_name;
+				this.userName =  JSON.parse(localStorage.getItem('user')).user_name;
 				if(data){
 					this.readnotice();
 					this.unreadnotice();