|
@@ -56,11 +56,13 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
// this.getListStatus();
|
|
|
- this.selectTriggerInfo();
|
|
|
},
|
|
|
mounted(){
|
|
|
this.userType = localStorage.getItem('userType')
|
|
|
- this.subscriptionMQTT();
|
|
|
+ if(userType != 22){
|
|
|
+ this.selectTriggerInfo();
|
|
|
+ this.subscriptionMQTT();
|
|
|
+ }
|
|
|
},
|
|
|
methods:{
|
|
|
workClickOff(){
|