@riil-frontend/component-topology 9.0.3 → 9.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,7 +72,8 @@ export default function useGraphAlarmDisplay(options) {
72
72
  resources: resources,
73
73
  isEditMode: isEditMode,
74
74
  graphLoaded: graphLoaded,
75
- cisEventLevel: getCisEventLevel()
75
+ // 有告警且未监控时,此时开启告警静默,应当显示未监控图标
76
+ cisEventLevel: alarmSwitch === false ? [] : getCisEventLevel()
76
77
  });
77
78
 
78
79
  function showAlarm() {
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
24
24
  import SelectionModel from "./SelectionModel";
25
25
  import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
26
26
 
27
- var version = typeof "9.0.3" === 'string' ? "9.0.3" : null;
27
+ var version = typeof "9.0.5" === 'string' ? "9.0.5" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -82,7 +82,8 @@ function useGraphAlarmDisplay(options) {
82
82
  resources: resources,
83
83
  isEditMode: isEditMode,
84
84
  graphLoaded: graphLoaded,
85
- cisEventLevel: getCisEventLevel()
85
+ // 有告警且未监控时,此时开启告警静默,应当显示未监控图标
86
+ cisEventLevel: alarmSwitch === false ? [] : getCisEventLevel()
86
87
  });
87
88
 
88
89
  function showAlarm() {
@@ -56,7 +56,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
56
56
  var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
57
57
 
58
58
  // eslint-disable-next-line no-undef
59
- var version = typeof "9.0.3" === 'string' ? "9.0.3" : null;
59
+ var version = typeof "9.0.5" === 'string' ? "9.0.5" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "9.0.3",
3
+ "version": "9.0.5",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -116,6 +116,6 @@
116
116
  "access": "public"
117
117
  },
118
118
  "license": "MIT",
119
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@9.0.3/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@9.0.5/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }