dedsudiyu преди 2 години
родител
ревизия
cffdba56a1
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/layout/components/AppMain.vue

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

@@ -18,7 +18,7 @@
 </template>
 
 <script>
-  import { selectTriggerInfo} from '@/api/evacuationBigData/index.js'
+  import { selectTriggerInfo } from '@/api/evacuationBigData/index.js'
   import store from '@/store'
   import mqtt from 'mqtt'
 export default {
@@ -55,7 +55,7 @@ export default {
   },
   mounted(){
     this.userType = localStorage.getItem('userType')
-    if(this.userType != 22){
+    if( this.userType != 22 && this.versionField() != 'xiBeiNongLinDaXue'){
       this.selectTriggerInfo();
       this.subscriptionMQTT();
     }