Commit 9679f44d authored by 张牧越's avatar 张牧越

bugfix

parent d437e86c
File deleted
......@@ -220,11 +220,15 @@ export default {
const chart = this.$echarts.init(this.$refs.areaChart);
const areaData = [...this.personAreaDetail];
let total = 0;
areaData.map((item) => {
total += item.value;
});
const option = {
title: {
x: "27%", //X坐标
y: "40%",
text: this.personAreaDetail.sum_person_num,
text: total,
subtext: "总人数",
textAlign: "center",
textStyle: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment