lw-cdp-ui 1.1.66 → 1.1.68

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.
@@ -1,5 +1,6 @@
1
1
  import dagre from 'dagre';
2
-
2
+ import { graphlib } from 'dagre'
3
+ window.graphlib = graphlib
3
4
  export default class Dagre {
4
5
  static pluginName = 'dagre';
5
6
  lf;
@@ -216,7 +216,7 @@ export default {
216
216
  modelValue: {
217
217
  handler(val, old) {
218
218
  // 第一次初始化
219
- if (!old) {
219
+ if (!old && !this.logicFlow) {
220
220
  this.init()
221
221
  // this.logicFlow.renderRawData(val)
222
222
  }