fix: bug#16337、16338
This commit is contained in:
parent
8da129e6ca
commit
65df271660
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<j-modal
|
<j-modal
|
||||||
visible
|
visible
|
||||||
title="新增"
|
title="选择触发场景"
|
||||||
okText="确定"
|
okText="确定"
|
||||||
cancelText="取消"
|
cancelText="取消"
|
||||||
:width="1000"
|
:width="1000"
|
||||||
|
@ -159,7 +159,9 @@ typeMap.set('manual', {
|
||||||
const _selectedRowKeys = ref<string[]>([]);
|
const _selectedRowKeys = ref<string[]>([]);
|
||||||
|
|
||||||
const handleClick = (dt: any) => {
|
const handleClick = (dt: any) => {
|
||||||
|
|
||||||
if(dt.state?.value === 'disable') {
|
if(dt.state?.value === 'disable') {
|
||||||
|
onlyMessage('该场景为禁用状态,无法触发告警','error')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (_selectedRowKeys.value.includes(dt.id)) {
|
if (_selectedRowKeys.value.includes(dt.id)) {
|
||||||
|
|
Loading…
Reference in New Issue