优化
This commit is contained in:
@ -503,14 +503,14 @@ onUnmounted(() => {
|
|||||||
// 页面销毁时销毁图表实例,避免内存泄漏
|
// 页面销毁时销毁图表实例,避免内存泄漏
|
||||||
frequencyChartInstance?.dispose();
|
frequencyChartInstance?.dispose();
|
||||||
alarmRingChartInstance?.dispose();
|
alarmRingChartInstance?.dispose();
|
||||||
alarmBarChartInstance?.dispose();
|
//alarmBarChartInstance?.dispose();
|
||||||
window.removeEventListener('resize', () => { });
|
window.removeEventListener('resize', () => { });
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.home {
|
.home {
|
||||||
padding: 0px 20px 10px 20px;
|
padding: 10px 20px 10px 20px;
|
||||||
background-color: #f5f7fa;
|
background-color: #f5f7fa;
|
||||||
min-height: calc(100vh - 84px);
|
min-height: calc(100vh - 84px);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user