Explorar o código

update servie

luke %!s(int64=6) %!d(string=hai) anos
pai
achega
21a5e1861c
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

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