From edda274811526276cf6b1e1bc6f2f7340c6c454d Mon Sep 17 00:00:00 2001 From: bietiaop <1527109126@qq.com> Date: Mon, 2 Sep 2024 17:09:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=BC=E5=AE=B9=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wiki.js b/apps/wiki.js index 04c40b1..c08ade7 100644 --- a/apps/wiki.js +++ b/apps/wiki.js @@ -55,7 +55,7 @@ export class Abyss extends ZZZPlugin { ? levelsChar.split('.').map(x => { const _x = Number(x.trim()); if (!_.isNaN(_x)) return _x; - if (_.isString(x)) return x.charCodeAt(0) - 64; + if (_.isString(x)) return x.toUpperCase().charCodeAt(0) - 64; return null; }) : [];