422
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
return props.list.map((item) => {
|
||||
return {
|
||||
...item,
|
||||
value: item.occupiedSpaces,
|
||||
value: parseInt((item.occupiedSpaces/item.total)*100),
|
||||
total: item.total,
|
||||
itemStyle: {
|
||||
color: {
|
||||
@@ -62,7 +62,7 @@
|
||||
return props.list.map((item) => {
|
||||
return {
|
||||
...item,
|
||||
value: item.occupiedSpaces,
|
||||
value: parseInt((item.occupiedSpaces/item.total)*100),
|
||||
total: item.total,
|
||||
itemStyle: {
|
||||
color: '#fff',
|
||||
|
||||
Reference in New Issue
Block a user