mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
补充凯撒评分权重;fix:无评分数据时查看面板异常
This commit is contained in:
parent
e18b1e2f16
commit
6081513de5
2 changed files with 15 additions and 1 deletions
|
|
@ -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' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue