@riil-frontend/component-topology 13.0.0-dev.13 → 13.0.0-dev.14

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.
@@ -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 "13.0.0-dev.13" === 'string' ? "13.0.0-dev.13" : null;
27
+ var version = typeof "13.0.0-dev.14" === 'string' ? "13.0.0-dev.14" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -7,7 +7,8 @@ import styles from "./LinkTopo.module.scss";
7
7
  export default function LinkTopo(props) {
8
8
  var data = props.data,
9
9
  linkMetricCodes = props.linkMetricCodes,
10
- openFlow = props.openFlow;
10
+ openFlow = props.openFlow,
11
+ jumpto = props.jumpto;
11
12
  var metricData = useMetricPolling({
12
13
  linkCi: data,
13
14
  linkMetricCodes: linkMetricCodes
@@ -33,7 +34,7 @@ export default function LinkTopo(props) {
33
34
  data: data // 链路ci数据
34
35
  ,
35
36
  isNarrow: true,
36
- jumpto: getHistory().push
37
+ jumpto: jumpto || getHistory().push
37
38
  }, metricData, {
38
39
  openFlow: openFlow
39
40
  })));
@@ -54,7 +54,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
54
54
  var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
55
55
 
56
56
  // eslint-disable-next-line no-undef
57
- var version = typeof "13.0.0-dev.13" === 'string' ? "13.0.0-dev.13" : null;
57
+ var version = typeof "13.0.0-dev.14" === 'string' ? "13.0.0-dev.14" : null;
58
58
  console.info("\u62D3\u6251\u7248\u672C: " + version);
59
59
  /**
60
60
  * 拓扑显示和编辑
@@ -20,7 +20,8 @@ var _LinkTopoModule = _interopRequireDefault(require("./LinkTopo.module.scss"));
20
20
  function LinkTopo(props) {
21
21
  var data = props.data,
22
22
  linkMetricCodes = props.linkMetricCodes,
23
- openFlow = props.openFlow;
23
+ openFlow = props.openFlow,
24
+ jumpto = props.jumpto;
24
25
  var metricData = (0, _useMetricPolling["default"])({
25
26
  linkCi: data,
26
27
  linkMetricCodes: linkMetricCodes
@@ -46,7 +47,7 @@ function LinkTopo(props) {
46
47
  data: data // 链路ci数据
47
48
  ,
48
49
  isNarrow: true,
49
- jumpto: (0, _componentTopologyUtils.getHistory)().push
50
+ jumpto: jumpto || (0, _componentTopologyUtils.getHistory)().push
50
51
  }, metricData, {
51
52
  openFlow: openFlow
52
53
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "13.0.0-dev.13",
3
+ "version": "13.0.0-dev.14",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -123,6 +123,6 @@
123
123
  "access": "public"
124
124
  },
125
125
  "license": "MIT",
126
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@13.0.0-dev.13/build/index.html",
126
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@13.0.0-dev.14/build/index.html",
127
127
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
128
128
  }