Compare commits

...

1 Commits
dev ... bugfix

Author SHA1 Message Date
xichaoyin
6370e88116 fix:皮肤头像 2024-01-12 20:12:18 +08:00

View File

@ -37,6 +37,7 @@ export class UserShared {
// else if (conf.cond[0] == 'time') return collection.active[fmtId] == -1 || collection.active[fmtId] > G.time;
else if (conf.cond[0] == 'time') return conf.cond[1] == -1 || collection.active?.[fmtId] > G.time;
else if (conf.cond[0] == 'model') return Object.values(collection.model).find(i => i.id == conf.cond[1]);
else if (conf.cond[0] == 'heroskin') return conf.cond[1] in (collection.heroskin || {});
else return false;
}
}