dedsudiyu пре 2 година
родитељ
комит
8285e91e41
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      src/layout/components/AppMain.vue

+ 2 - 4
src/layout/components/AppMain.vue

@@ -56,13 +56,11 @@ export default {
   },
   created() {
     // this.getListStatus();
+    this.selectTriggerInfo();
   },
   mounted(){
     this.userType = localStorage.getItem('userType')
-    if(userType != 22){
-      this.selectTriggerInfo();
-      this.subscriptionMQTT();
-    }
+    this.subscriptionMQTT();
   },
   methods:{
     workClickOff(){