add:设备告警网关告警对接 接口
This commit is contained in:
@@ -138,7 +138,6 @@
|
||||
import { energyAlarms } from '/@/api/alarmManagement/alarmSettings/energyAlarm';
|
||||
import { http } from '/nerv-lib/util';
|
||||
import { dict } from '/@/api';
|
||||
import { async } from '@antv/x6/lib/registry/marker/async';
|
||||
|
||||
// import type { Rule } from 'ant-design-vue/es/form';
|
||||
|
||||
@@ -367,7 +366,7 @@
|
||||
message: '请输入异常描述',
|
||||
trigger: 'blur',
|
||||
validator: (rules: any, abnormalDescription: any, cbfn: any) => {
|
||||
if (abnormalDescription.trim() !== '') {
|
||||
if (abnormalDescription && abnormalDescription.trim() !== '') {
|
||||
cbfn();
|
||||
} else {
|
||||
cbfn('告警标题不能为空');
|
||||
|
Reference in New Issue
Block a user