mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +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,
|
elem: char.elem,
|
||||||
bodyClass: `char-${char.name}`,
|
bodyClass: `char-${char.name}`,
|
||||||
rankCfg,
|
rankCfg,
|
||||||
mode
|
mode,
|
||||||
|
pageGotoParams: { waitUntil: 'networkidle2' }
|
||||||
}, { e, scale: 1.4, retType: 'base64' }), new Button(e).profile(char)])
|
}, { e, scale: 1.4, retType: 'base64' }), new Button(e).profile(char)])
|
||||||
}
|
}
|
||||||
|
@ -29,10 +29,7 @@ const Render = {
|
|||||||
sys: {
|
sys: {
|
||||||
scale: Cfg.scale(cfg.scale || 1)
|
scale: Cfg.scale(cfg.scale || 1)
|
||||||
},
|
},
|
||||||
copyright: `Created By ${Version.name}<span class="version">${Version.yunzai}</span>${pluginName}</span>`,
|
copyright: `Created By ${Version.name}<span class="version">${Version.yunzai}</span>${pluginName}</span>`
|
||||||
pageGotoParams: {
|
|
||||||
waitUntil: 'networkidle2'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user