补充凯撒评分权重;fix:无评分数据时查看面板异常

This commit is contained in:
UCPr 2025-03-28 13:14:04 +08:00
parent e18b1e2f16
commit 6081513de5
2 changed files with 15 additions and 1 deletions

View file

@ -436,7 +436,7 @@ export class ZZZAvatarInfo {
/** 面板属性label效果 */
get_label(propID) {
const base = this.scoreWeight[propID];
const base = this.scoreWeight?.[propID];
if (!base) return '';
return base === 1 ? 'yellow' :
base >= 0.75 ? 'blue' :