登录失效
This commit is contained in:
@@ -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: '确定',
|
||||
|
||||
Reference in New Issue
Block a user