File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,11 @@ const designerConfig = ref({
64
64
switchType: [], // 是否可以切换组件类型,或者可以相互切换的字段
65
65
autoActive: true , // 是否自动选中拖入的组件
66
66
useTemplate: false , // 是否生成vue2语法的模板组件
67
- formOptions: {}, // 定义表单配置默认值
67
+ formOptions: {
68
+ form: {
69
+ labelWidth: ' 100px' // 设置默认的 label 宽度为 100px
70
+ }
71
+ }, // 定义表单配置默认值
68
72
fieldReadonly: false , // 配置field是否可以编辑
69
73
hiddenDragMenu: false , // 隐藏拖拽操作按钮
70
74
hiddenDragBtn: false , // 隐藏拖拽按钮
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ const designerConfig = ref({
49
49
switchType: [], // 是否可以切换组件类型,或者可以相互切换的字段
50
50
autoActive: true , // 是否自动选中拖入的组件
51
51
useTemplate: false , // 是否生成vue2语法的模板组件
52
- formOptions: {}, // 定义表单配置默认值
52
+ formOptions: {
53
+ form: {
54
+ labelWidth: ' 100px' // 设置默认的 label 宽度为 100px
55
+ }
56
+ }, // 定义表单配置默认值
53
57
fieldReadonly: false , // 配置field是否可以编辑
54
58
hiddenDragMenu: false , // 隐藏拖拽操作按钮
55
59
hiddenDragBtn: false , // 隐藏拖拽按钮
You can’t perform that action at this time.
0 commit comments