From e51087519b432af7316154daf5dee3fe280ff180 Mon Sep 17 00:00:00 2001 From: kissnavel Date: Mon, 14 Jul 2025 22:25:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E5=86=85=E5=AE=B9#136?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/panel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/panel.js b/apps/panel.js index 7f6113f..9c276a3 100644 --- a/apps/panel.js +++ b/apps/panel.js @@ -66,6 +66,7 @@ export class Panel extends ZZZPlugin { const isEnka = this.e.msg.includes('展柜') || !(await getCk(this.e)) let result if (isEnka) { + await this.reply('正在更新面板列表,请稍候...'); const data = await refreshPanelFromEnka(uid) .catch(err => err) if (data instanceof Error) { @@ -85,7 +86,7 @@ export class Panel extends ZZZPlugin { } } else { const { api, deviceFp } = await this.getAPI(); - await this.reply('正在更新面板列表,请稍候...'); + await this.reply('正在更新面板列表,请稍候...\n账号异常时,可尝试%更新展柜面板(所更新角色数据与实际不一致时,请提issue)'); await this.getPlayerInfo(); await redis.set(`ZZZ:PANEL:${uid}:LASTTIME`, Date.now()); result = await refreshPanelFunction(api, deviceFp).catch(e => { @@ -94,7 +95,7 @@ export class Panel extends ZZZPlugin { }); } if (!result) { - await this.reply('面板列表更新失败,请稍后再试\n账号异常时,可尝试%更新展柜面板(所更新角色数据与实际不一致时,请提issue)'); + await this.reply('面板列表更新失败,请稍后再试'); return false; } const newChar = result.filter(item => item.isNew);