dedsudiyu преди 2 години
родител
ревизия
c86b431e4b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/layout/components/AppMain.vue

+ 1 - 1
src/layout/components/AppMain.vue

@@ -59,7 +59,7 @@ export default {
   },
   mounted(){
     this.userType = localStorage.getItem('userType')
-    if(userType != 22){
+    if(this.userType != 22){
       this.selectTriggerInfo();
       this.subscriptionMQTT();
     }