From e23511e8692d2aba8ab0ea3fea577329c355ed0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=8C?= Date: Fri, 17 May 2024 17:42:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20pageGotoParams=20=E6=8F=90?= =?UTF-8?q?=E9=AB=98=E7=94=9F=E6=88=90=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/profile/ProfileRank.js | 3 ++- components/common/Render.js | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/profile/ProfileRank.js b/apps/profile/ProfileRank.js index a821a417..086ea7a6 100644 --- a/apps/profile/ProfileRank.js +++ b/apps/profile/ProfileRank.js @@ -292,6 +292,7 @@ async function renderCharRankList ({ e, uids, char, mode, groupId }) { elem: char.elem, bodyClass: `char-${char.name}`, rankCfg, - mode + mode, + pageGotoParams: { waitUntil: 'networkidle2' } }, { e, scale: 1.4, retType: 'base64' }), new Button(e).profile(char)]) } diff --git a/components/common/Render.js b/components/common/Render.js index 95ec7268..a22d79d3 100644 --- a/components/common/Render.js +++ b/components/common/Render.js @@ -29,10 +29,7 @@ const Render = { sys: { scale: Cfg.scale(cfg.scale || 1) }, - copyright: `Created By ${Version.name}${Version.yunzai}${pluginName}`, - pageGotoParams: { - waitUntil: 'networkidle2' - } + copyright: `Created By ${Version.name}${Version.yunzai}${pluginName}` } } })