@riil-frontend/component-topology 2.15.41 → 2.15.42
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.css +1 -1
- package/build/index.js +22 -22
- package/es/core/editor/components/settings/propertyViews/node/NodePropertyView.js +2 -1
- package/es/core/models/TopoApp.js +1 -1
- package/lib/core/editor/components/settings/propertyViews/node/NodePropertyView.js +2 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/package.json +2 -2
|
@@ -74,7 +74,8 @@ export default function NodePropertyView(props) {
|
|
|
74
74
|
|
|
75
75
|
var handleBindTopoChange = function handleBindTopoChange(value, data) {
|
|
76
76
|
// 设置名称为拓扑名称
|
|
77
|
-
node.a('name', data.label);
|
|
77
|
+
node.a('name', data.label);
|
|
78
|
+
node.a('customName', null);
|
|
78
79
|
};
|
|
79
80
|
|
|
80
81
|
var renderData = function renderData() {
|
|
@@ -20,7 +20,7 @@ import { updateEdgeExpanded } from "../utils/edgeUtil";
|
|
|
20
20
|
import PluginManager from "./PluginManager";
|
|
21
21
|
import topoFactory from "./topoFactory"; // eslint-disable-next-line no-undef
|
|
22
22
|
|
|
23
|
-
var version = typeof "2.15.
|
|
23
|
+
var version = typeof "2.15.42" === 'string' ? "2.15.42" : null;
|
|
24
24
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
|
25
25
|
/**
|
|
26
26
|
* 拓扑显示和编辑
|
|
@@ -100,7 +100,8 @@ function NodePropertyView(props) {
|
|
|
100
100
|
|
|
101
101
|
var handleBindTopoChange = function handleBindTopoChange(value, data) {
|
|
102
102
|
// 设置名称为拓扑名称
|
|
103
|
-
node.a('name', data.label);
|
|
103
|
+
node.a('name', data.label);
|
|
104
|
+
node.a('customName', null);
|
|
104
105
|
};
|
|
105
106
|
|
|
106
107
|
var renderData = function renderData() {
|
|
@@ -48,7 +48,7 @@ var _PluginManager = _interopRequireDefault(require("./PluginManager"));
|
|
|
48
48
|
var _topoFactory = _interopRequireDefault(require("./topoFactory"));
|
|
49
49
|
|
|
50
50
|
// eslint-disable-next-line no-undef
|
|
51
|
-
var version = typeof "2.15.
|
|
51
|
+
var version = typeof "2.15.42" === 'string' ? "2.15.42" : null;
|
|
52
52
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
|
53
53
|
/**
|
|
54
54
|
* 拓扑显示和编辑
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riil-frontend/component-topology",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.42",
|
|
4
4
|
"description": "拓扑",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "build-scripts start",
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
"access": "public"
|
|
111
111
|
},
|
|
112
112
|
"license": "MIT",
|
|
113
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.
|
|
113
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.42/build/index.html",
|
|
114
114
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
|
115
115
|
}
|