feat: 参考原型图 ui优化提交 企业端-企业中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-06 20:19:43 +08:00
parent bc6af74e9e
commit d58e468969
147 changed files with 9816 additions and 8768 deletions
+11 -1
View File
@@ -109,7 +109,17 @@ export const Form = forwardRef(function Form(
? 'inline'
: 'vertical'
}
labelCol={labelWidth ? { flex: labelWidth } : undefined}
labelCol={
props.labelCol ??
(labelWidth
? {
flex: `0 0 ${typeof labelWidth === 'number' ? `${labelWidth}px` : labelWidth}`,
}
: undefined)
}
wrapperCol={
props.wrapperCol ?? (labelWidth ? { flex: '1 1 0' } : undefined)
}
labelAlign={labelAlign}
onFinish={onSubmit}
onFinishFailed={onSubmitFail}