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();
     }