用户头像造型修复bug
This commit is contained in:
parent
552da79951
commit
4ceaeb8a5e
@ -35,7 +35,7 @@ export class UserShared {
|
||||
else if (conf.cond[0] == 'vip') return collection.vip >= conf.cond[1];
|
||||
else if (conf.cond[0] == 'hero') return collection.lsyx[conf.cond[1]] > 0;
|
||||
// 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] == '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 return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user