Merge pull request #9 from cn3lfs/master

fix: 公告内容不能为空
This commit is contained in:
芋道源码 2023-05-29 22:29:05 +08:00 committed by GitHub
commit 22eeb9c7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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="请选择公告类型">