|
@@ -64,7 +64,8 @@ const showCtrlPanel = computed(() => {
|
|
});
|
|
});
|
|
|
|
|
|
watch(activeConfigIndex, () => {
|
|
watch(activeConfigIndex, () => {
|
|
- if (activeConfigIndex.value === -1) {
|
|
|
|
|
|
+ // 仅打开智能启停面板时定时获取数据
|
|
|
|
+ if (activeConfigIndex.value !== 0) {
|
|
clearTimeout(moduleTimer);
|
|
clearTimeout(moduleTimer);
|
|
} else {
|
|
} else {
|
|
getModuleInfo();
|
|
getModuleInfo();
|