Commit ea54e802 by xinla

chart flex height 问题

1 parent 6a3cc4e4
......@@ -188,7 +188,7 @@ export default {
<style lang="scss" scoped>
.chart {
position: relative;
height: 100%;
max-height: 100%;
min-width: 400px;
min-height: 400px;
}
......
......@@ -228,7 +228,7 @@ export default {
<style lang="scss" scoped>
.chart {
position: relative;
height: 100%;
max-height: 100%;
min-width: 400px;
min-height: 400px;
}
......
......@@ -127,7 +127,7 @@ export default {
<style lang="scss" scoped>
.chart {
height: 100%;
max-height: 100%;
min-width: 200px;
min-height: 200px;
}
......
......@@ -130,7 +130,7 @@ export default {
<template>
<div>
<div class="operation">
<div class="operation mb20">
<el-button-group>
<el-button type="primary" :plain="timeRange != 7" @click="setTime(7)">近一周</el-button>
<el-button type="primary" :plain="timeRange != 30" @click="setTime(30)">近一月</el-button>
......@@ -160,6 +160,7 @@ export default {
placeholder="请选择群主" />
</div>
<ChartLine
style="height: 400px"
v-loading="loading.customerGroup"
:xData="customerGroup.xData"
:legend="legend['customerGroup']"
......@@ -187,6 +188,7 @@ export default {
</el-select>
</div>
<ChartLine
style="height: 400px"
v-loading="loading.customerGroupMember"
:xData="customerGroupMember.xData"
:legend="legend['customerGroupMember']"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!