feat: naive Textarea input

This commit is contained in:
xingyu4j
2025-05-14 18:06:31 +08:00
parent 1351702fec
commit 0c9670bab5
15 changed files with 56 additions and 26 deletions

View File

@@ -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,
},
},