mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +00:00
删除 pageGotoParams 提高生成速度
This commit is contained in:
parent
d342f8a752
commit
e23511e869
@ -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)])
|
||||
}
|
||||
|
@ -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>`
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user