From d2446a878e342c7b53850fe5e90dc97f1b24509e Mon Sep 17 00:00:00 2001 From: Kokomi <102026640+yoimiya-kokomi@users.noreply.github.com> Date: Sun, 4 Jun 2023 05:32:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84uid?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E5=AF=BC=E8=87=B4uid=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/model/mys/NoteUser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/genshin/model/mys/NoteUser.js b/plugins/genshin/model/mys/NoteUser.js index a397f05..bff10ba 100644 --- a/plugins/genshin/model/mys/NoteUser.js +++ b/plugins/genshin/model/mys/NoteUser.js @@ -206,6 +206,7 @@ export default class NoteUser extends BaseModel { /** 获取当前UID */ getUid (game = 'gs') { + game = this.game(game) // todo 刷新uid let ds = this.getGameDs(game) if (!ds.uid) { @@ -260,6 +261,7 @@ export default class NoteUser extends BaseModel { } getGameDs (game = 'gs') { + game = this.gameKey(game) if (!this._games[game]) { this._games[game] = { uid: '',