Commit 242a04aa authored by youjie's avatar youjie

优化

parent 8b6b75af
......@@ -418,11 +418,11 @@
let list = []
res.data.list.forEach(item => {
if(item.money>0){
// item.typeName.substring(0,1)
let name = item.type==2?item.typeName.substring(0,3):item.typeName.substring(0,1)
let obj = {
name: item.typeName,
value: item.money,
labelText: `${item.typeName.substring(0,1)}:${item.money}`
labelText: `${name}:${item.money}`
}
list.push(obj)
}
......
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