fix:article中form清空与复现
This commit is contained in:
parent
34d3099ed6
commit
61c03414c0
|
@ -73,6 +73,7 @@
|
|||
v-model="addType"
|
||||
placeholder="类型"
|
||||
style="width: 100%"
|
||||
:disabled="showType =='edit' "
|
||||
>
|
||||
<el-option label="公告" :value="'articles'"></el-option>
|
||||
<el-option label="视频" :value="'video'"></el-option>
|
||||
|
@ -158,6 +159,8 @@ export default {
|
|||
add() {
|
||||
this.saveDialog = true;
|
||||
this.showType = "add";
|
||||
this.addType = "articles";
|
||||
this.form = Object.assign({}, defaultForm);
|
||||
},
|
||||
//编辑
|
||||
table_edit(row) {
|
||||
|
|
Loading…
Reference in New Issue