@riil-frontend/component-topology 4.0.5 → 4.0.6
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.
|
@@ -21,7 +21,7 @@ import PluginManager from "./PluginManager";
|
|
|
21
21
|
import topoFactory from "./topoFactory";
|
|
22
22
|
import ElementTagTipConfig from "./tagstips/ElementTagTipConfig"; // eslint-disable-next-line no-undef
|
|
23
23
|
|
|
24
|
-
var version = typeof "4.0.
|
|
24
|
+
var version = typeof "4.0.6" === 'string' ? "4.0.6" : null;
|
|
25
25
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
|
26
26
|
/**
|
|
27
27
|
* 拓扑显示和编辑
|
package/es/utils/clusterUtil.js
CHANGED
|
@@ -96,9 +96,8 @@ export function handleClusterNoPermission(topo) {
|
|
|
96
96
|
*/
|
|
97
97
|
|
|
98
98
|
export function upgradeV103GraphClusterNode(topo, topoData) {
|
|
99
|
-
|
|
100
|
-
dm1.removeDataByTag('00000000364831f0')
|
|
101
|
-
|
|
99
|
+
// const dm1 = topo.getDataModel()
|
|
100
|
+
// dm1.removeDataByTag('00000000364831f0') // FIXME
|
|
102
101
|
try {
|
|
103
102
|
doUpgrade();
|
|
104
103
|
} catch (error) {
|
|
@@ -50,7 +50,7 @@ var _topoFactory = _interopRequireDefault(require("./topoFactory"));
|
|
|
50
50
|
var _ElementTagTipConfig = _interopRequireDefault(require("./tagstips/ElementTagTipConfig"));
|
|
51
51
|
|
|
52
52
|
// eslint-disable-next-line no-undef
|
|
53
|
-
var version = typeof "4.0.
|
|
53
|
+
var version = typeof "4.0.6" === 'string' ? "4.0.6" : null;
|
|
54
54
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
|
55
55
|
/**
|
|
56
56
|
* 拓扑显示和编辑
|
package/lib/utils/clusterUtil.js
CHANGED
|
@@ -125,9 +125,8 @@ function handleClusterNoPermission(topo) {
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
function upgradeV103GraphClusterNode(topo, topoData) {
|
|
128
|
-
|
|
129
|
-
dm1.removeDataByTag('00000000364831f0')
|
|
130
|
-
|
|
128
|
+
// const dm1 = topo.getDataModel()
|
|
129
|
+
// dm1.removeDataByTag('00000000364831f0') // FIXME
|
|
131
130
|
try {
|
|
132
131
|
doUpgrade();
|
|
133
132
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riil-frontend/component-topology",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"description": "拓扑",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "build-scripts start",
|
|
@@ -114,6 +114,6 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"license": "MIT",
|
|
117
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@4.0.
|
|
117
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@4.0.6/build/index.html",
|
|
118
118
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
|
119
119
|
}
|