bug
This commit is contained in:
@@ -405,7 +405,7 @@
|
||||
tarValue = data[i].value
|
||||
}
|
||||
}
|
||||
let p = total === 0 ? 0 : (tarValue / total * 100).toFixed(0)
|
||||
let p = total === 0 ? 0 : (tarValue / total * 100).toFixed(2)
|
||||
return name + ':' + tarValue + ' ' + p + '%'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user