fix: 修复绑定

This commit is contained in:
ningmengchongshui 2024-06-14 11:13:55 +08:00
parent 19a54257a6
commit ea059cbc25
1 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default class NoteUser extends BaseModel {
qq = null qq = null
mysUsers = null mysUsers: any = {}
_map = null _map = null
/** /**
@ -343,7 +343,7 @@ export default class NoteUser extends BaseModel {
this.save() this.save()
} }
_games = null _games = {}
/** /**
* *
@ -352,6 +352,9 @@ export default class NoteUser extends BaseModel {
*/ */
getGameDs(game = 'gs') { getGameDs(game = 'gs') {
game = this.gameKey(game) game = this.gameKey(game)
if (!this._games) {
this._games = {}
}
if (!this._games[game]) { if (!this._games[game]) {
this._games[game] = { this._games[game] = {
uid: '', uid: '',