箱管 批量查询 查询提示修改

zth
张同海 4 days ago
parent a646da2825
commit b6dd40fc38

@ -64,14 +64,16 @@
}
})
if (MessageArr.length) {
let txt = `${MessageArr.length}个待上线:`
for (let i = 0; i < 5; i++) {
if (MessageArr[i]) {
txt = i == 0 ? `${txt} ${MessageArr[i]}` : `${txt},\n${MessageArr[i]}`
}
}
// let txt = `${MessageArr.length}线`
let txt = `${MessageArr.length}个待上线.`
// for (let i = 0; i < 5; i++) {
// if (MessageArr[i]) {
// txt = i == 0 ? `${txt} ${MessageArr[i]}` : `${txt},\n${MessageArr[i]}`
// }
// }
notification.warning({
message: MessageArr.length > 5 ? `${txt}...` : txt,
// message: MessageArr.length > 5 ? `${txt}...` : txt,
message: txt,
duration: 6000,
})
}

Loading…
Cancel
Save