@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.
- package/build/index.js +1 -1
- package/es/core/components/DisplaySettingDrawer/DisplaySettingDrawer.js +1 -1
- package/es/core/models/TopoApp.js +1 -1
- package/es/networkTopo/utils/exitLinkUtil.js +4 -1
- package/lib/core/components/DisplaySettingDrawer/DisplaySettingDrawer.js +1 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/lib/networkTopo/utils/exitLinkUtil.js +4 -1
- package/package.json +2 -2
@@ -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.
|
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
|
-
|
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
|
/**
|
@@ -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.
|
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
|
-
|
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.
|
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.
|
121
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@11.0.24/build/index.html",
|
122
122
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
123
123
|
}
|