feat:notice 接入富文本
parent
bd3b95f447
commit
04903db551
|
@ -39,14 +39,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||||
{
|
{
|
||||||
fieldName: 'content',
|
fieldName: 'content',
|
||||||
label: '公告内容',
|
label: '公告内容',
|
||||||
component: 'Textarea',
|
component: 'RichTextarea',
|
||||||
componentProps: {
|
|
||||||
placeholder: '请输入公告内容',
|
|
||||||
},
|
|
||||||
// component: 'Editor', // TODO @芋艿:富文本编辑器
|
|
||||||
// componentProps: {
|
|
||||||
// height: '200px',
|
|
||||||
// },
|
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,7 +71,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Modal :title="getTitle">
|
<Modal :title="getTitle" class="w-1/2">
|
||||||
<Form class="mx-4" />
|
<Form class="mx-4" />
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue