Commit a337a8424da8eb13d94d15b48853887a8960e010

Authored by fengwotao
1 parent cc8a9caa

fix: 修改告警详情无单位显示undefined

... ... @@ -103,7 +103,9 @@
103 103 const value = {
104 104 ['触发属性']: findName,
105 105 ['触发条件']: `${findLogin}${curr.value.logicValue}`,
106   - ['触发值']: `${curr.value.realValue}${findAttribute.detail?.dataType?.specs?.unit?.key}`,
  106 + ['触发值']: `${curr.value.realValue}${
  107 + findAttribute.detail?.dataType?.specs?.unit?.key ?? ''
  108 + }`,
107 109 };
108 110 const data = {
109 111 [item.name]: value,
... ...