diff --git a/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue b/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue index 6ea396d1..b7e8bfef 100644 --- a/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue +++ b/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue @@ -166,13 +166,16 @@ export default { option && this.Echart.setOption(option) }, }, - created() { + onLoad() { this.areaId = this.user.areaId this.areaName = this.user.areaName + + this.$nextTick(() => { + this.getList() + }) }, onShow() { document.title = '视频监控' - this.getList() }, mounted() { this.Echart = echarts.init(document.getElementById('echarts'))