Explorar o código

update pc_chat

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

+ 1 - 1
pc_chat/src/components/chat.vue

@@ -1687,7 +1687,7 @@
 			registered() {
 				let token = localStorage.getItem('token');
 				let appuid = this.$public.getQueryString('appuid');
-				let tutype = this.$public.getQueryString('tutype');
+				let tutype = localStorage.getItem('tutype');
 				if (appuid && tutype >= 1) {
 					token = localStorage.getItem('token');
 				} else if (!appuid && tutype < 1) {