dedsudiyu 2 vuotta sitten
vanhempi
commit
8285e91e41
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  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(){