@riil-frontend/component-topology 7.0.7 → 7.0.8

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.
@@ -23,7 +23,7 @@ import topoFactory from "./topoFactory";
23
23
  import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
24
24
  import SelectionModel from "./SelectionModel"; // eslint-disable-next-line no-undef
25
25
 
26
- var version = typeof "7.0.7" === 'string' ? "7.0.7" : null;
26
+ var version = typeof "7.0.8" === 'string' ? "7.0.8" : null;
27
27
  console.info("\u62D3\u6251\u7248\u672C: " + version);
28
28
  /**
29
29
  * 拓扑显示和编辑
@@ -386,7 +386,12 @@ export default function (topoApp) {
386
386
  alarmListDefaultOpen: displayConfig.alarmListDefaultOpen,
387
387
  extraConfig: JSON.stringify(_extends({}, displayConfig, {
388
388
  // 背景图,便于加载拓扑直接显示背景图
389
- background: topoApp.store.getModelState("background").current
389
+ background: topoApp.store.getModelState("background").current,
390
+ // 增加保存日志,便于排查链路重复问题 2023-4-12 19:27:18
391
+ saveHistories: [{
392
+ date: new Date().toLocaleString(),
393
+ version: topoApp.version
394
+ }].concat(displayConfig.saveHistories || [])
390
395
  }))
391
396
  };
392
397
  rlog.debug('saveGlobalConfig', config);
@@ -54,7 +54,7 @@ var _ElementTagTipConfig = _interopRequireDefault(require("./tagstips/ElementTag
54
54
  var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
55
55
 
56
56
  // eslint-disable-next-line no-undef
57
- var version = typeof "7.0.7" === 'string' ? "7.0.7" : null;
57
+ var version = typeof "7.0.8" === 'string' ? "7.0.8" : null;
58
58
  console.info("\u62D3\u6251\u7248\u672C: " + version);
59
59
  /**
60
60
  * 拓扑显示和编辑
@@ -408,7 +408,12 @@ function _default(topoApp) {
408
408
  alarmListDefaultOpen: displayConfig.alarmListDefaultOpen,
409
409
  extraConfig: JSON.stringify((0, _extends2["default"])({}, displayConfig, {
410
410
  // 背景图,便于加载拓扑直接显示背景图
411
- background: topoApp.store.getModelState("background").current
411
+ background: topoApp.store.getModelState("background").current,
412
+ // 增加保存日志,便于排查链路重复问题 2023-4-12 19:27:18
413
+ saveHistories: [{
414
+ date: new Date().toLocaleString(),
415
+ version: topoApp.version
416
+ }].concat(displayConfig.saveHistories || [])
412
417
  }))
413
418
  };
414
419
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -116,6 +116,6 @@
116
116
  "access": "public"
117
117
  },
118
118
  "license": "MIT",
119
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@7.0.7/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@7.0.8/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }