修改禅道bug
This commit is contained in:
@@ -101,7 +101,7 @@ export default {
|
||||
return dataMap.map(itemInfo => {
|
||||
const rawItem = rawData[itemInfo.key] || {};
|
||||
// 计算进度百分比,确保不小于0
|
||||
const progress = Math.max(0, Math.round((rawItem.rate || 0)));
|
||||
const progress = rawItem.rate || 0;
|
||||
|
||||
return {
|
||||
unit: itemInfo.unit,
|
||||
|
||||
Reference in New Issue
Block a user