diff --git a/apps/web-antd/src/views/system/notice/data.ts b/apps/web-antd/src/views/system/notice/data.ts index 0f7d8fccf..eda6ae2fd 100644 --- a/apps/web-antd/src/views/system/notice/data.ts +++ b/apps/web-antd/src/views/system/notice/data.ts @@ -39,14 +39,7 @@ export function useFormSchema(): VbenFormSchema[] { { fieldName: 'content', label: '公告内容', - component: 'Textarea', - componentProps: { - placeholder: '请输入公告内容', - }, - // component: 'Editor', // TODO @芋艿:富文本编辑器 - // componentProps: { - // height: '200px', - // }, + component: 'RichTextarea', rules: 'required', }, { diff --git a/apps/web-antd/src/views/system/notice/modules/form.vue b/apps/web-antd/src/views/system/notice/modules/form.vue index 1285af8a0..d49b3f47e 100644 --- a/apps/web-antd/src/views/system/notice/modules/form.vue +++ b/apps/web-antd/src/views/system/notice/modules/form.vue @@ -71,7 +71,7 @@ const [Modal, modalApi] = useVbenModal({