diff --git a/apps/web-naive/src/views/infra/codegen/data.ts b/apps/web-naive/src/views/infra/codegen/data.ts index b9b354a2..1210774b 100644 --- a/apps/web-naive/src/views/infra/codegen/data.ts +++ b/apps/web-naive/src/views/infra/codegen/data.ts @@ -111,8 +111,9 @@ export function useBasicInfoFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', rows: 3, placeholder: '请输入备注', }, diff --git a/apps/web-naive/src/views/infra/config/data.ts b/apps/web-naive/src/views/infra/config/data.ts index 1a79bc3b..a050cb94 100644 --- a/apps/web-naive/src/views/infra/config/data.ts +++ b/apps/web-naive/src/views/infra/config/data.ts @@ -70,8 +70,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/infra/fileConfig/data.ts b/apps/web-naive/src/views/infra/fileConfig/data.ts index 219a362c..f28895ad 100644 --- a/apps/web-naive/src/views/infra/fileConfig/data.ts +++ b/apps/web-naive/src/views/infra/fileConfig/data.ts @@ -45,8 +45,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/system/dict/data.ts b/apps/web-naive/src/views/system/dict/data.ts index 48ab6c72..8534e395 100644 --- a/apps/web-naive/src/views/system/dict/data.ts +++ b/apps/web-naive/src/views/system/dict/data.ts @@ -62,8 +62,9 @@ export function useTypeFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, @@ -274,8 +275,9 @@ export function useDataFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/system/mail/account/data.ts b/apps/web-naive/src/views/system/mail/account/data.ts index 48a7989a..063bd9cf 100644 --- a/apps/web-naive/src/views/system/mail/account/data.ts +++ b/apps/web-naive/src/views/system/mail/account/data.ts @@ -92,8 +92,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/system/mail/template/data.ts b/apps/web-naive/src/views/system/mail/template/data.ts index 0701a0e0..bc2d2216 100644 --- a/apps/web-naive/src/views/system/mail/template/data.ts +++ b/apps/web-naive/src/views/system/mail/template/data.ts @@ -76,10 +76,11 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', + rows: 3, placeholder: '请输入模板内容', - height: 300, }, rules: 'required', }, @@ -97,8 +98,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, @@ -120,8 +122,9 @@ export function useSendMailFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', disabled: true, }, }, diff --git a/apps/web-naive/src/views/system/notice/data.ts b/apps/web-naive/src/views/system/notice/data.ts index caaae93e..fd0f6e22 100644 --- a/apps/web-naive/src/views/system/notice/data.ts +++ b/apps/web-naive/src/views/system/notice/data.ts @@ -37,7 +37,7 @@ export function useFormSchema(): VbenFormSchema[] { }, rules: 'required', }, - // TODO @xingyu:测试有问题 + // TODO @xingyu:富文本待优化 { fieldName: 'content', label: '公告内容', @@ -55,12 +55,12 @@ export function useFormSchema(): VbenFormSchema[] { }, rules: z.number().default(CommonStatusEnum.ENABLE), }, - // TODO @xingyu:测试有问题 { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/system/notify/template/data.ts b/apps/web-naive/src/views/system/notify/template/data.ts index d85675ba..87010125 100644 --- a/apps/web-naive/src/views/system/notify/template/data.ts +++ b/apps/web-naive/src/views/system/notify/template/data.ts @@ -57,8 +57,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入模板内容', }, rules: 'required', @@ -90,8 +91,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, @@ -160,8 +162,9 @@ export function useSendNotifyFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', disabled: true, }, }, diff --git a/apps/web-naive/src/views/system/oauth2/client/data.ts b/apps/web-naive/src/views/system/oauth2/client/data.ts index 14e1208f..4d655476 100644 --- a/apps/web-naive/src/views/system/oauth2/client/data.ts +++ b/apps/web-naive/src/views/system/oauth2/client/data.ts @@ -59,8 +59,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'description', label: '应用描述', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入应用描述', }, }, @@ -158,8 +159,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'additionalInformation', label: '附加信息', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入附加信息,JSON 格式数据', }, }, diff --git a/apps/web-naive/src/views/system/post/data.ts b/apps/web-naive/src/views/system/post/data.ts index ba14bba6..55af9926 100644 --- a/apps/web-naive/src/views/system/post/data.ts +++ b/apps/web-naive/src/views/system/post/data.ts @@ -55,7 +55,10 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '岗位备注', - component: 'Textarea', + component: 'Input', + componentProps: { + type: 'textarea', + }, }, ]; } diff --git a/apps/web-naive/src/views/system/role/data.ts b/apps/web-naive/src/views/system/role/data.ts index aee51e3e..ad400bb4 100644 --- a/apps/web-naive/src/views/system/role/data.ts +++ b/apps/web-naive/src/views/system/role/data.ts @@ -63,7 +63,10 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '角色备注', - component: 'Textarea', + component: 'Input', + componentProps: { + type: 'textarea', + }, }, ]; } diff --git a/apps/web-naive/src/views/system/sms/channel/data.ts b/apps/web-naive/src/views/system/sms/channel/data.ts index c37faf34..7b26f409 100644 --- a/apps/web-naive/src/views/system/sms/channel/data.ts +++ b/apps/web-naive/src/views/system/sms/channel/data.ts @@ -58,8 +58,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, diff --git a/apps/web-naive/src/views/system/sms/template/data.ts b/apps/web-naive/src/views/system/sms/template/data.ts index 95061836..4d86baf1 100644 --- a/apps/web-naive/src/views/system/sms/template/data.ts +++ b/apps/web-naive/src/views/system/sms/template/data.ts @@ -80,8 +80,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入模板内容', }, rules: 'required', @@ -98,8 +99,9 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', placeholder: '请输入备注', }, }, @@ -177,8 +179,9 @@ export function useSendSmsFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '模板内容', - component: 'Textarea', + component: 'Input', componentProps: { + type: 'textarea', disabled: true, }, }, diff --git a/apps/web-naive/src/views/system/tenantPackage/data.ts b/apps/web-naive/src/views/system/tenantPackage/data.ts index 5f1bcf9f..8862b468 100644 --- a/apps/web-naive/src/views/system/tenantPackage/data.ts +++ b/apps/web-naive/src/views/system/tenantPackage/data.ts @@ -51,7 +51,10 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', + componentProps: { + type: 'textarea', + }, }, ]; } diff --git a/apps/web-naive/src/views/system/user/data.ts b/apps/web-naive/src/views/system/user/data.ts index e07cac74..cd55901f 100644 --- a/apps/web-naive/src/views/system/user/data.ts +++ b/apps/web-naive/src/views/system/user/data.ts @@ -115,7 +115,10 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'remark', label: '备注', - component: 'Textarea', + component: 'Input', + componentProps: { + type: 'textarea', + }, }, ]; }