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