diff --git a/src/views/home/articles.vue b/src/views/home/articles.vue
index e3c861ab..7eca93c6 100644
--- a/src/views/home/articles.vue
+++ b/src/views/home/articles.vue
@@ -73,6 +73,7 @@
v-model="addType"
placeholder="类型"
style="width: 100%"
+ :disabled="showType =='edit' "
>
@@ -158,6 +159,8 @@ export default {
add() {
this.saveDialog = true;
this.showType = "add";
+ this.addType = "articles";
+ this.form = Object.assign({}, defaultForm);
},
//编辑
table_edit(row) {