|
@@ -868,7 +868,7 @@ export default defineComponent({
|
|
|
proxyData.loadingAir = true;
|
|
|
// 操作空调后,先关闭定时刷新接口,等固定时间再更新空调状态
|
|
|
proxyData.updateAirStatus();
|
|
|
- if (proxyData.airData.isOpen && !proxyData.swiperIinit) {
|
|
|
+ if (proxyData.airData.isOpen) {
|
|
|
nextTick(() => {
|
|
|
proxyData.barSwiperInit();
|
|
|
});
|
|
@@ -1027,6 +1027,7 @@ export default defineComponent({
|
|
|
}
|
|
|
if (newProps[1] && newProps[1] != oldProps[1]) {
|
|
|
proxyData.spaceId = newProps[1];
|
|
|
+ proxyData.swiperIinit = false;
|
|
|
proxyData.getAirInfoToTimer(0);
|
|
|
}
|
|
|
},
|