Commit d576e9c0 by xinla

--no commit message

1 parent 41239978
......@@ -178,12 +178,13 @@ export default {
</script>
<template>
<div v-if="series && series.length" ref="chart" class="chart-bar chart"></div>
<div v-else>暂无数据</div>
<div v-if="series && series.length" ref="chart" class="chart-bar chart" key="1"></div>
<div v-else class="chart-bar chart" key="2"><div class="cc">暂无数据</div></div>
</template>
<style lang="scss" scoped>
.chart {
position: relative;
height: 100%;
min-width: 400px;
min-height: 400px;
......
......@@ -220,14 +220,15 @@ export default {
</script>
<template>
<div v-if="series && series.length" ref="chart" class="chart-line chart"></div>
<div v-else>暂无数据</div>
<div v-if="series && series.length" ref="chart" class="chart-line chart" key="1"></div>
<div v-else class="chart-line chart" key="2"><div class="cc">暂无数据</div></div>
</template>
<style lang="scss" scoped>
.chart {
position: relative;
height: 100%;
min-width: 200px;
min-height: 200px;
min-width: 400px;
min-height: 400px;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!