From 04903db5519aeadc039f71c83b0e3a09046a35c8 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 19 Apr 2025 09:30:30 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Anotice=20=E6=8E=A5=E5=85=A5?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/system/notice/data.ts | 9 +-------- apps/web-antd/src/views/system/notice/modules/form.vue | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) 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({