From bd32b7f2ead526105463d05f2b494b3c9b39ad0b Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Fri, 12 Aug 2022 08:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=AD=BE=E5=88=B0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=9C=AA=E7=BB=91=E5=AE=9A=E6=95=B0=E6=8D=AE=E6=97=B6?= =?UTF-8?q?=E5=80=99=E4=B8=BA=E7=A9=BA=E8=A7=A6=E5=8F=91=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/mys/mihoyo-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/mys/mihoyo-api.js b/model/mys/mihoyo-api.js index 541cc39..790594f 100644 --- a/model/mys/mihoyo-api.js +++ b/model/mys/mihoyo-api.js @@ -111,7 +111,7 @@ export default class MihoYoApi { // 获取账号信息 const objData = await this.getUserInfo(kkbody) let data = objData.data - if (data?.list?.length == 0) { + if (data?.list?.length == 0||!data?.list) { return { message: `未绑定${name}信息` }