From 4c2f8ca59cda6a749242f6642d3014a5c0de11c9 Mon Sep 17 00:00:00 2001 From: ctrlcvs <1509167646@qq.com> Date: Fri, 9 Sep 2022 19:39:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E4=BD=93=E5=8A=9B=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/Note.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/Note.js b/apps/Note.js index bb6f94a..711c83f 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -381,8 +381,7 @@ export async function Note_appoint(e) { let type = 0; if (msg.includes("列表")) { let xlmsg=msg.replace("列表","")*1 || 1 - let mstList = []; - let sumCount=(urlType.length/80+0.4).toFixed(0); + let sumCount=(urlType.length/80+0.49).toFixed(0); xlmsg=sumCount-xlmsg>-1?xlmsg:sumCount==0?1:sumCount; let xxmsg=(xlmsg-1)<=0?0:80*(xlmsg-1) let count=0; @@ -400,7 +399,7 @@ export async function Note_appoint(e) { } item = index+1 + "." + item count++; - if(Object.keys(mstList).length==80){ + if(msgData.length==81){ break; } if(index