删除 pageGotoParams 提高生成速度

This commit is contained in:
🌌 2024-05-17 17:42:05 +08:00
parent d342f8a752
commit e23511e869
2 changed files with 3 additions and 5 deletions

View File

@ -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)])
}

View File

@ -29,10 +29,7 @@ const Render = {
sys: {
scale: Cfg.scale(cfg.scale || 1)
},
copyright: `Created By ${Version.name}<span class="version">${Version.yunzai}</span>${pluginName}</span>`,
pageGotoParams: {
waitUntil: 'networkidle2'
}
copyright: `Created By ${Version.name}<span class="version">${Version.yunzai}</span>${pluginName}</span>`
}
}
})