Commit 07aa5982 authored by leiqingsong's avatar leiqingsong

修改收入详情的bug

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