From 771e0da9c6082c78a28f5286f89f4f36b05689d3 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 27 十二月 2022 14:31:45 +0800 Subject: [PATCH] 默认更改列表 --- src/views/doubleIndex/saftyScreen/components/screen.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/doubleIndex/saftyScreen/components/screen.vue b/src/views/doubleIndex/saftyScreen/components/screen.vue index 0eda9fd..1b881c6 100644 --- a/src/views/doubleIndex/saftyScreen/components/screen.vue +++ b/src/views/doubleIndex/saftyScreen/components/screen.vue @@ -311,9 +311,11 @@ this.$router.push({ path:"/fullScreen" }) + this.$parent.clickFullscreen() }, back(){ window.history.go(-1); + this.$parent.clickFullscreen() }, // 获取部门列表 @@ -725,8 +727,7 @@ if (option && typeof option === 'object') { myChart.setOption(option); - t.myVar = setInterval(function(){ - console.log('tik') + t.myVar = window.setInterval(function(){ if (option.dataZoom[0].endValue == t.depList.length ) { option.dataZoom[0].endValue = 6; option.dataZoom[0].startValue = 0; -- Gitblit v1.9.2