登录失效

This commit is contained in:
sjl
2025-02-07 14:28:15 +08:00
parent 6065fd1f67
commit 9206be2562
6 changed files with 55 additions and 25 deletions

View File

@@ -891,21 +891,21 @@ const handleTest = async (val: string) => {
if (val === '手动检测' || val === '自动检测' || val === '不合格项复检' || val === '全部复检') {
if (devNum > 6) {
// if (devNum > 6) {
// ElMessageBox.confirm(
// '每次检测最多只能选择6台设备请重新选择',
// '提示',
// {
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// type: 'warning',
// },
// )
// return
// }
if (devChannelsNum > 12) {
ElMessageBox.confirm(
'每次检测最多只能选择6台设备,请重新选择',
'提示',
{
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
},
)
return
}
if (devChannelsNum > 20) {
ElMessageBox.confirm(
'每次检测最多只能检测20个设备通道请重新选择',
'每次检测最多只能检测12个设备通道,请重新选择',
'提示',
{
confirmButtonText: '确定',