refactor: items-baseline -> items-start

This commit is contained in:
dap 2025-02-26 13:16:07 +08:00
parent 36a78dda90
commit 279fc98d76
12 changed files with 15 additions and 15 deletions

View File

@ -99,7 +99,7 @@ export const modalSchema: FormSchemaGetter = () => [
}, },
{ {
component: 'Textarea', component: 'Textarea',
formItemClass: 'items-baseline', formItemClass: 'items-start',
fieldName: 'configValue', fieldName: 'configValue',
label: '参数键值', label: '参数键值',
componentProps: { componentProps: {
@ -122,7 +122,7 @@ export const modalSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -89,7 +89,7 @@ export const drawerSchema: FormSchemaGetter = () => [
placeholder: '可使用tailwind类名 如bg-blue w-full h-full等', placeholder: '可使用tailwind类名 如bg-blue w-full h-full等',
}, },
fieldName: 'cssClass', fieldName: 'cssClass',
formItemClass: 'items-baseline', formItemClass: 'items-start',
help: '标签的css样式, 可添加已经编译的css类名', help: '标签的css样式, 可添加已经编译的css类名',
label: 'css类名', label: 'css类名',
}, },
@ -102,7 +102,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -71,7 +71,7 @@ export const modalSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -213,7 +213,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -126,7 +126,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -219,7 +219,7 @@ export const authModalSchemas: FormSchemaGetter = () => [
triggerFields: ['dataScope'], triggerFields: ['dataScope'],
}, },
fieldName: 'deptIds', fieldName: 'deptIds',
formItemClass: 'items-baseline', formItemClass: 'items-start',
help: '更改后立即生效', help: '更改后立即生效',
label: '部门权限', label: '部门权限',
}, },

View File

@ -255,13 +255,13 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'intro', fieldName: 'intro',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '企业介绍', label: '企业介绍',
}, },
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -65,7 +65,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -201,7 +201,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'Textarea', component: 'Textarea',
fieldName: 'remark', fieldName: 'remark',
formItemClass: 'items-baseline', formItemClass: 'items-start',
label: '备注', label: '备注',
}, },
]; ];

View File

@ -81,7 +81,7 @@ const [BasicForm, formApi] = useVbenForm({
fieldName: 'message', fieldName: 'message',
component: 'Textarea', component: 'Textarea',
label: '审批意见', label: '审批意见',
formItemClass: 'items-baseline', formItemClass: 'items-start',
}, },
], ],
showDefaultActions: false, showDefaultActions: false,

View File

@ -77,7 +77,7 @@ const [BasicForm, formApi] = useVbenForm({
fieldName: 'message', fieldName: 'message',
component: 'Textarea', component: 'Textarea',
label: '审批意见', label: '审批意见',
formItemClass: 'items-baseline', formItemClass: 'items-start',
}, },
], ],
showDefaultActions: false, showDefaultActions: false,

View File

@ -168,6 +168,6 @@ export const modalSchema: (isEdit: boolean) => VbenFormSchema[] = (
label: '请假原因', label: '请假原因',
fieldName: 'remark', fieldName: 'remark',
component: 'Textarea', component: 'Textarea',
formItemClass: 'items-baseline', formItemClass: 'items-start',
}, },
]; ];