|
@@ -572,7 +572,7 @@ const getAchievement = (data: any) => {
|
|
|
//console.log("成绩", data);
|
|
|
let type = parameter.value.project;
|
|
|
let result =
|
|
|
- data?.[dic.typeResultKey[type]];
|
|
|
+ data?.[dic.typeResultKey[type]] || 0;
|
|
|
let count = null;
|
|
|
if (["trijump", "solidball", "shotput", "longjump"].includes(type)) {
|
|
|
count = (Math.round(result) / 100).toFixed(2);
|