fix:article中form清空与复现

This commit is contained in:
shijing 2024-11-22 17:24:32 +08:00
parent 34d3099ed6
commit 61c03414c0
1 changed files with 3 additions and 0 deletions

View File

@ -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) {