Browse Source

update echart resize

develop
mbp 2 months ago
parent
commit
6550e5be6f
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/UserArea.vue
  2. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/UserArea.vue

@ -113,6 +113,9 @@ export default {
},
},
},
created() {
this.getUser();
},
methods: {
...mapMutations("menu", ["openRecent", "closeRecent"]),
onSwitchRecent(){

5
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue

@ -1,6 +1,6 @@
<template>
<div class="TrafficFlow">
<el-tabs class="full_tab" v-model="activeName" @change="onTabChange">
<el-tabs class="full_tab" v-model="activeName" @tab-click="onTabChange">
<el-tab-pane label="感知事件分析" name="first" class="tab_con">
<EventDetectionAnalysis ref="refAna" />
</el-tab-pane>
@ -28,8 +28,7 @@ export default {
},
methods: {
onTabChange(e){
console.log(e)
if(e === 'first'){
if(e.index === '0'){
this.$refs.refAna.refresh();
}
}

Loading…
Cancel
Save