feat:notice 接入富文本
parent
bd3b95f447
commit
04903db551
|
@ -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',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -71,7 +71,7 @@ const [Modal, modalApi] = useVbenModal({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<Modal :title="getTitle">
|
||||
<Modal :title="getTitle" class="w-1/2">
|
||||
<Form class="mx-4" />
|
||||
</Modal>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue