iscs 代码调整

This commit is contained in:
joylink_cuiweidong 2022-10-18 17:37:18 +08:00
parent acde5489ca
commit cd11ff9988
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,9 @@ export default {
this.getInitData();
}
},
mounted() {
this.getInitData();
},
methods:{
getInitData() {
const params = {

View File

@ -43,6 +43,9 @@ export default {
watch:{
'$store.state.iscs.gateFaultCount': function(val) {
this.$store.dispatch('iscs/updateIscsState', [{deviceType: 'GATE', status: this.$store.state.iscs.gateFaultList.includes(this.stationId) ? 0 : 1}]);
},
'mode':function() {
this.getInitData();
}
},
mounted() {