修改
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
}
|
||||
|
||||
// 解构数据,避免重复取值
|
||||
const { diff, completeRate: rate, real, target, flag } = this.detailData;
|
||||
const { diff, completeRate, real, target, flag } = this.detailData;
|
||||
// 确保数值为数字类型
|
||||
const realValue = Number(real) || 0;
|
||||
const targetValue = Number(target) || 0;
|
||||
|
||||
Reference in New Issue
Block a user