diff --git a/apps/Note.js b/apps/Note.js index fce4295..b7a22f9 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -386,10 +386,10 @@ export async function Note_appoint(e) { if (msg.includes("列表")) { let xlmsg=msg.replace("列表","") || 1 let mstList = []; - let sumCount=(urlType.length/98).toFixed(0); + let sumCount=(urlType.length/80).toFixed(0); xlmsg=sumCount-xlmsg>-1?xlmsg:sumCount; - urlType.unshift(`模板列表共,第${xlmsg+1}页,共${urlType.length}张,请选择序号~~\n当前支持选择的模板有:`) - let count=0; + urlType.unshift(`模板列表共,第${xlmsg}页,共${urlType.length}张,请选择序号~~\n当前支持选择的模板有:`) + let xxmsg=(xlmsg-1)==0?0:80*(xlmsg-1) for (let [index, item] of urlType.entries()) { let msg_pass = []; let imgurl; @@ -404,10 +404,10 @@ export async function Note_appoint(e) { } item = index + "." + item } - if(msg_pass.length==98){ + if(Object.keys(mstList).length==80){ break; } - if(index<98*(xlmsg-1)){ + if(index