update models/Character.js.

修复#日历 不显示角色生日和当日可刷天赋

Signed-off-by: wxq-597 <7875126+wxq-597@user.noreply.gitee.com>
This commit is contained in:
wxq-597 2023-06-26 16:59:05 +00:00 committed by Gitee
parent 55e04133d5
commit ac2ec47861
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -189,7 +189,7 @@ class Character extends Base {
static forEach (fn, type = 'all', game = 'gs') {
lodash.forEach(idMap, (name, id) => {
let char = Character.get({ id, name })
if (char.game !== 'game') {
if (char.game !== 'gs') {
return true
}
if (type === 'release' && !char.isRelease) {