WIP привести к изначальному виду

This commit is contained in:
Daria Golova
2022-11-10 15:26:54 +03:00
parent 4837bea07b
commit 27da063072
7 changed files with 13 additions and 64 deletions

View File

@@ -43,11 +43,9 @@ export default {
methods: {
openFormCreateClient() {
this.isOpenFormCreate = true;
this.$emit("is-open-client-add-form", this.isOpenFormCreate);
},
closeFormCreateClient() {
this.isOpenFormCreate = false;
this.$emit("is-open-client-add-form", this.isOpenFormCreate);
this.fetchDataClients();
},
saveDataClients(data) {
@@ -81,9 +79,6 @@ export default {
mounted() {
this.fetchDataClients();
},
beforeUnmount() {
this.closeFormCreateClient();
},
};
</script>