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

@@ -1,15 +1,9 @@
<template lang="pug">
.flex.flex-col.w-full.h-full.gap-y-2
the-header(
:is-open-page-form="isOpenPageForm",
@is-open-header-form="changeHeaderFormState"
)
the-header
.flex.flex-auto
the-sidebar
router-view(
:is-open-header-form="isOpenHeaderForm",
@is-open-page-form="changePageFormState",
)
router-view
</template>
<script>
@@ -19,19 +13,5 @@ import TheSidebar from "@/components/TheSidebar";
export default {
name: "LoggedInLayout",
components: { TheHeader, TheSidebar },
data() {
return {
isOpenPageForm: false,
isOpenHeaderForm: false,
};
},
methods: {
changePageFormState(value) {
this.isOpenPageForm = value;
},
changeHeaderFormState(value) {
this.isOpenHeaderForm = value;
},
},
};
</script>