fix:页面请求

This commit is contained in:
zhaohy
2024-08-23 13:35:53 +08:00
parent 6c3dd401ad
commit 75a582cdce
4 changed files with 4 additions and 5 deletions

View File

@@ -548,12 +548,12 @@
getTempSysCtrlList();
};
//实时获取数据 暂定一分钟
// const intervalId = setInterval(fetchData, 60000);
const intervalId = setInterval(fetchData, 60000);
onMounted(() => {
fetchData();
});
onUnmounted(() => {
// clearInterval(intervalId);
clearInterval(intervalId);
});
</script>
<style lang="less">