实现后台发布公告
This commit is contained in:
@@ -35,12 +35,13 @@
|
||||
</el-row>
|
||||
<el-row>
|
||||
<h4>发布公告</h4>
|
||||
<el-form :model="form">
|
||||
<el-form :model="NoticeForm" ref="NoticeForm">
|
||||
<el-form-item label="公告内容">
|
||||
<el-input v-model="form.content" placeholder="公告内容" type="textarea"></el-input>
|
||||
<el-input v-model="NoticeForm.content" placeholder="公告内容" type="textarea"
|
||||
name="content" ref="content"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit">添加</el-button>
|
||||
<el-button type="primary" @click="submitForm('NoticeForm')">添加</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-row>
|
||||
|
||||
Reference in New Issue
Block a user