2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

修正体力模板显示数据问题

This commit is contained in:
Ctrlcvs 2022-08-22 08:47:52 +08:00
parent 4b40ed6c04
commit ff4a3ff3e9

View File

@ -393,7 +393,7 @@ export async function Note_appoint(e) {
if (msg.includes("列表")) {
let xlmsg=msg.replace("列表","")*1 || 1
let mstList = [];
let sumCount=(urlType.length/80).toFixed(0);
let sumCount=(urlType.length/80+0.4).toFixed(0);
xlmsg=sumCount-xlmsg>-1?xlmsg:sumCount==0?1:sumCount;
urlType.unshift(`模板列表共,第${xlmsg}页,共${urlType.length}张,\n您可通过【#体力模板设置1】来绑定你需要的体力模板~\n请选择序号~~\n当前支持选择的模板有:`)
let xxmsg=(xlmsg-1)<=0?0:80*(xlmsg-1)