mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
修正体力模板显示数据问题
This commit is contained in:
parent
4b40ed6c04
commit
ff4a3ff3e9
@ -393,7 +393,7 @@ export async function Note_appoint(e) {
|
|||||||
if (msg.includes("列表")) {
|
if (msg.includes("列表")) {
|
||||||
let xlmsg=msg.replace("列表","")*1 || 1
|
let xlmsg=msg.replace("列表","")*1 || 1
|
||||||
let mstList = [];
|
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;
|
xlmsg=sumCount-xlmsg>-1?xlmsg:sumCount==0?1:sumCount;
|
||||||
urlType.unshift(`模板列表共,第${xlmsg}页,共${urlType.length}张,\n您可通过【#体力模板设置1】来绑定你需要的体力模板~\n请选择序号~~\n当前支持选择的模板有:`)
|
urlType.unshift(`模板列表共,第${xlmsg}页,共${urlType.length}张,\n您可通过【#体力模板设置1】来绑定你需要的体力模板~\n请选择序号~~\n当前支持选择的模板有:`)
|
||||||
let xxmsg=(xlmsg-1)<=0?0:80*(xlmsg-1)
|
let xxmsg=(xlmsg-1)<=0?0:80*(xlmsg-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user