We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vben Admin V5
{ fieldName: 'divider-api-select', component: 'Divider', componentProps: { orientation:'center', }, label: '远程下拉演示', formItemClass: 'col-span-3', }
这样设置了orientation属性后不生效,分割线标题一直显示在最左侧
5.0 web-antd
No response
The text was updated successfully, but these errors were encountered:
orientation指的是分割线标题的位置,不是分割线的位置,跟label无关
Sorry, something went wrong.
{ component: 'Divider', componentProps: { dashed: true, orientation: 'center', // 让分割线的标题显示在中间 }, fieldName: 'divider-api-select', formItemClass: 'col-span-3', hideLabel: true, // 隐藏表单的Label renderComponentContent: () => { return { default: () => '分割线', // 这是分割线的标题 }; }, },
3Q,刚开始写5.0版本,还不太熟悉,好像以前2.0版本不需要这样写。
No branches or pull requests
Version
Vben Admin V5
Describe the bug?
这样设置了orientation属性后不生效,分割线标题一直显示在最左侧
Reproduction
这样设置了orientation属性后不生效,分割线标题一直显示在最左侧
System Info
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: