🐛 修复dept、menu模块点击查看再新增会保留之前数据的问题

dev
smallchill 6 years ago
parent 4d6dc23b36
commit c0f8764a4c
  1. 1
      src/views/system/dept.vue
  2. 1
      src/views/system/menu.vue

@ -328,6 +328,7 @@
done();
},
beforeClose(done) {
this.$refs.crud.tableForm = {};
this.$refs.crud.value.parentId = "";
this.$refs.crud.value.addDisabled = false;
this.$refs.crud.option.column.filter(item => {

@ -359,6 +359,7 @@
done();
},
beforeClose(done) {
this.$refs.crud.tableForm = {};
this.$refs.crud.value.parentId = "";
this.$refs.crud.value.addDisabled = false;
this.$refs.crud.option.column.filter(item => {

Loading…
Cancel
Save