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(){