数据判断
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
</div>
|
||||
</template>
|
||||
</ele-pro-table>
|
||||
<div style="margin-top: 40px">
|
||||
<div style="margin-top: 40px" v-if="areaChartOption.legend.data.length > 0">
|
||||
<v-chart
|
||||
ref="areaChart"
|
||||
style="width: 100%; height: 500px"
|
||||
@@ -160,7 +160,11 @@
|
||||
minWidth: 110
|
||||
}
|
||||
],
|
||||
areaChartOption: {} //折线图
|
||||
areaChartOption: {
|
||||
legend: {
|
||||
data: []
|
||||
}
|
||||
} //折线图
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user