@cniot/mdd-editor 0.2.0-beta.41 → 0.2.0-beta.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/mdd-editor",
3
- "version": "0.2.0-beta.41",
3
+ "version": "0.2.0-beta.43",
4
4
  "description": "模型驱动编辑器",
5
5
  "scripts": {
6
6
  "build": "vite build"
@@ -21,7 +21,6 @@ export default class DetailItemSchema extends JSONWatch {
21
21
  columnsDirection = 'row', // 分栏组件 方向,默认横向分栏
22
22
  columnsBoxes = [],
23
23
  height = 100,
24
- hideCard = true,
25
24
  ...more
26
25
  } = props || {};
27
26
  super({
@@ -43,7 +42,6 @@ export default class DetailItemSchema extends JSONWatch {
43
42
  columnsDirection,
44
43
  columnsBoxes,
45
44
  height,
46
- hideCard,
47
45
  ...more,
48
46
  });
49
47
  }
@@ -70,6 +70,11 @@ const customTitleRender = (props) => {
70
70
  // 类型是步骤条
71
71
  data.initStepSource();
72
72
  }
73
+ if (key === 'type' && val === 'detail-columns') {
74
+ data.set('hideCard', true);
75
+ } else {
76
+ data.set('hideCard', false);
77
+ }
73
78
  onChange(data);
74
79
  };
75
80
  return (