fix: 公告内容不能为空

This commit is contained in:
lour6498 2023-05-29 18:44:55 +08:00
parent 47f20e6d4c
commit 257ad9f79f

View File

@ -11,7 +11,7 @@
<el-input v-model="formData.title" placeholder="请输入公告标题" /> <el-input v-model="formData.title" placeholder="请输入公告标题" />
</el-form-item> </el-form-item>
<el-form-item label="公告内容" prop="content"> <el-form-item label="公告内容" prop="content">
<Editor :model-value="formData.content" height="150px" /> <Editor v-model="formData.content" height="150px" />
</el-form-item> </el-form-item>
<el-form-item label="公告类型" prop="type"> <el-form-item label="公告类型" prop="type">
<el-select v-model="formData.type" clearable placeholder="请选择公告类型"> <el-select v-model="formData.type" clearable placeholder="请选择公告类型">