This commit is contained in:
yanran200730
2022-04-21 11:32:21 +08:00
parent 6648726837
commit 473f13a271

View File

@@ -166,13 +166,16 @@ export default {
option && this.Echart.setOption(option) option && this.Echart.setOption(option)
}, },
}, },
created() { onLoad() {
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.$nextTick(() => {
this.getList()
})
}, },
onShow() { onShow() {
document.title = '视频监控' document.title = '视频监控'
this.getList()
}, },
mounted() { mounted() {
this.Echart = echarts.init(document.getElementById('echarts')) this.Echart = echarts.init(document.getElementById('echarts'))