Commit 07aa5982 authored by leiqingsong's avatar leiqingsong

修改收入详情的bug

parent 0b35e094
......@@ -219,7 +219,6 @@ export default {
};
},
mounted() {
// this.pieOption.graphic.children[0].style.text = "123456";
this.getDetail();
},
methods: {
......@@ -240,7 +239,7 @@ export default {
return {
name: item.typeName,
money: item.money,
incomeTime: item.incomeTime.substr(0, 16).replaceAll("-", ".")
incomeTime: item.incomeTime.substr(0, 16).replace(/-/g, ".")
};
});
this.pieOption.series[0].data = this.detailList.map(item => {
......
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