luke před 6 roky
rodič
revize
e9661505db
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {