|
|
@@ -105,8 +105,13 @@
|
|
|
},
|
|
|
methods: {
|
|
|
checkSub(index){
|
|
|
- this.$set(this,'checkIndex',index);
|
|
|
- this.getSubData({alarmType:false});
|
|
|
+ if(this.checkIndex != index){
|
|
|
+ clearInterval(this.subTimer);
|
|
|
+ this.$set(this,'checkIndex',index);
|
|
|
+ this.getSubData({alarmType:false});
|
|
|
+ //开启实验室轮播
|
|
|
+ this.subTimerFunction();
|
|
|
+ }
|
|
|
},
|
|
|
//初始化
|
|
|
initialize(type) {
|