lw-cdp-ui 1.1.59 → 1.1.60

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.
@@ -31,7 +31,7 @@
31
31
  import LogicFlow from '@logicflow/core'
32
32
  import '@logicflow/core/dist/index.css';
33
33
  import { Menu, MiniMap } from "@logicflow/extension";
34
- import { dagre } from '@logicflow/layout';
34
+ import { Dagre } from '@logicflow/layout';
35
35
  import '@logicflow/extension/lib/style/index.css';
36
36
 
37
37
  // 注册组件
@@ -274,7 +274,7 @@ export default {
274
274
  this.logicFlow = new LogicFlow({
275
275
  container: this.$refs.container,
276
276
  // 注册组件
277
- plugins: [Menu, MiniMap, dagre],
277
+ plugins: [Menu, MiniMap, Dagre],
278
278
  // 不可编辑
279
279
  isSilentMode: this.isView,
280
280
  hoverOutline: !this.isView,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-affix v-if="showMenu"
3
- :offset="100">
3
+ :offset="100" style="width: 100%; height: 45px;">
4
4
  <ul class="affix-body">
5
5
  <template v-for="(item, index) in config.formItems"
6
6
  :key="index">
@@ -154,6 +154,7 @@
154
154
  style="width: 100%;"
155
155
  :props="item?.options?.props"
156
156
  :separator="item?.options?.separator"
157
+ :disabled="item?.options?.disabled"
157
158
  :options="item?.options.items"
158
159
  clearable></el-cascader>
159
160
  </template>