diff --git a/apps/web-naive/src/views/infra/codegen/data.ts b/apps/web-naive/src/views/infra/codegen/data.ts index b9b354a2a..1210774bb 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 1a79bc3b2..a050cb943 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 219a362c4..f28895add 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 48ab6c727..8534e3956 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 48a7989a2..063bd9cf9 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 0701a0e09..bc2d2216b 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 caaae93e7..fd0f6e22c 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 d85675ba8..870101252 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 14e1208fe..4d655476a 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 ba14bba64..55af99269 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 aee51e3eb..ad400bb4c 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 c37faf345..7b26f409a 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 950618365..4d86baf10 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 5f1bcf9fd..8862b4684 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 e07cac74c..cd55901f9 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', + }, }, ]; }