Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【3.7.0】searchFormSchema 配置单个label的labelWidth不生效 #6865

Closed
benben120 opened this issue Jul 9, 2024 · 5 comments
Closed

Comments

@benben120
Copy link

benben120 commented Jul 9, 2024

版本号:

3.7.0

问题描述:

searchFormSchema 配置单个label的labelWidth不生效
formConfig统一配置labelWidth才能生效,单个配置不支持

错误截图:

image
image
image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

zy

@xie-dongbo
Copy link

{
label: '账号',
field: 'username',
component: 'JInput',
itemProps:{
labelCol: {sm: {span: 3, offset: 0},style:'max-width:12%' },
wrapperCol:{ span:5 },
}
//colProps: { span: 6 },
},

@xie-dongbo
Copy link

瞎调

@xie-dongbo
Copy link

实际根据字数改下max-width就行

@liaozhiyang
Copy link

已修复,下一版本发布。

你本地可按如下图进行修改:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants