dedsudiyu hace 2 años
padre
commit
c86b431e4b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
     }