@riil-frontend/component-topology 11.0.23 → 11.0.24

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.
@@ -53,7 +53,7 @@ export default function DisplaySettingDrawer(props) {
53
53
  setLoading(false);
54
54
  rlog.error('DisplaySettingDrawer.handleOk', _context.t0);
55
55
 
56
- _Message.warn('保存失败');
56
+ _Message.warning('保存失败');
57
57
 
58
58
  case 14:
59
59
  case "end":
@@ -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 "11.0.23" === 'string' ? "11.0.23" : null;
27
+ var version = typeof "11.0.24" === 'string' ? "11.0.24" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -167,8 +167,11 @@ export function processExitLink(topoData) {
167
167
  }
168
168
 
169
169
  function findElementSerializeById(serialize, id) {
170
+ // 背景图没有a
170
171
  return serialize.d.find(function (item) {
171
- return item.a.id === id;
172
+ var _item$a;
173
+
174
+ return ((_item$a = item.a) === null || _item$a === void 0 ? void 0 : _item$a.id) === id;
172
175
  });
173
176
  }
174
177
  /**
@@ -74,7 +74,7 @@ function DisplaySettingDrawer(props) {
74
74
 
75
75
  _rlog["default"].error('DisplaySettingDrawer.handleOk', _context.t0);
76
76
 
77
- _message["default"].warn('保存失败');
77
+ _message["default"].warning('保存失败');
78
78
 
79
79
  case 14:
80
80
  case "end":
@@ -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 "11.0.23" === 'string' ? "11.0.23" : null;
59
+ var version = typeof "11.0.24" === 'string' ? "11.0.24" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑
@@ -178,8 +178,11 @@ function processExitLink(topoData) {
178
178
  }
179
179
 
180
180
  function findElementSerializeById(serialize, id) {
181
+ // 背景图没有a
181
182
  return serialize.d.find(function (item) {
182
- return item.a.id === id;
183
+ var _item$a;
184
+
185
+ return ((_item$a = item.a) === null || _item$a === void 0 ? void 0 : _item$a.id) === id;
183
186
  });
184
187
  }
185
188
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "11.0.23",
3
+ "version": "11.0.24",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -118,6 +118,6 @@
118
118
  "access": "public"
119
119
  },
120
120
  "license": "MIT",
121
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@11.0.23/build/index.html",
121
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@11.0.24/build/index.html",
122
122
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
123
123
  }