CN-268 feat: panel重构--地图

This commit is contained in:
chenjinsong
2022-01-17 17:06:14 +08:00
parent 35d948257a
commit a35dbd2e36
4 changed files with 17 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
<div :class="{'panel-chart--fullscreen': isFullscreen, 'panel-chart--title-chart': isTitle}" class="panel-chart" :id="isFullscreen ? ('chart-screen-' + chartInfo.id ) : ('chart-local-' + chartInfo.id)">
<!-- title和工具栏支持浮动 -->
<chart-header
v-if="!isFullscreen && showHeader"
v-if="!isFullscreen && showHeader && !isSingleValue"
:is-error="isError"
:error-info="errorInfo"
:chart-data="chartData"
@@ -271,7 +271,10 @@ export default {
}
},
mounted () {
this.getChartData()
this.showLoading(true)
setTimeout(() => {
this.getChartData()
}, 200)
},
setup (props) {
const dateRangeValue = 60