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

@@ -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: '请输入备注',
},
},