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(){
   mounted(){
     this.userType = localStorage.getItem('userType')
     this.userType = localStorage.getItem('userType')
-    if(userType != 22){
+    if(this.userType != 22){
       this.selectTriggerInfo();
       this.selectTriggerInfo();
       this.subscriptionMQTT();
       this.subscriptionMQTT();
     }
     }