File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
packages/components/src/ProForm Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -350,20 +350,20 @@ const Demo = () => {
350350 }
351351 return (
352352 <>
353- < ProForm
354- // 表单类型
355- formType= " collapse"
356- title= " 基本使用(与uiw/form使用保持一致)"
357- // 自定义组件
358- customWidgetsList= {{
353+ < ProForm
354+ // 表单类型
355+ formType= " collapse"
356+ title= " 基本使用(与uiw/form使用保持一致)"
357+ // 自定义组件
358+ customWidgetsList= {{
359359 slider: Slider,
360360 }}
361- // 是否展示uiw/form提交按钮
362- showSaveButton
363- // 是否展示uiw/form重置按钮
364- showResetButton
365- // 提交后验证
366- onSubmit= {(initial , current ) => {
361+ // 是否展示uiw/form提交按钮
362+ showSaveButton
363+ // 是否展示uiw/form重置按钮
364+ showResetButton
365+ // 提交后验证
366+ onSubmit= {(initial , current ) => {
367367 const errorObj = {};
368368 if (! current? .input ) {
369369 errorObj .input = ' input不能为空' ;
@@ -377,7 +377,7 @@ const Demo = () => {
377377 setState (current)
378378 // 调用请求接口
379379 }}
380- formDatas= {[
380+ formDatas= {[
381381 {
382382 label: ' input' ,
383383 key: ' input' ,
Original file line number Diff line number Diff line change 8989 right : 0 ;
9090 top : 7px ;
9191}
92+ .uiw-admin-proform-horizontal .w-form-item .w-form-row > div {
93+ width : 100% ;
94+ }
9295.uiw-admin-proform-horizontal .w-form-item .w-form-help {
9396 position : absolute;
9497 left : 134px ;
You can’t perform that action at this time.
0 commit comments