This commit is contained in:
2019-03-06 20:51:14 +00:00
parent 84bc3fc835
commit 8d30093935
2 changed files with 34 additions and 87 deletions

View File

@@ -27,39 +27,13 @@
</v-btn>
</v-toolbar>
<v-content>
<v-container fluid fill-height >
<v-layout justify-center >
<router-view ></router-view>
<v-container fluid fill-height>
<v-layout justify-center>
<router-view></router-view>
</v-layout>
</v-container>
</v-content>
<!-- <v-footer >
<v-layout>
<v-flex primary
py-2
text-xs-center
white--text
xs12>
<div>
<a href="https://ayanova.com" target="_blank"><span class="white--text caption">AyaNova ({{version}}) {{copyright}}</span></a>
</div>
</v-flex>
</v-layout>
</v-footer> -->
<!-- <v-footer app color="primary" dark height="auto">
<v-layout row wrap="" align-center>
<v-flex xs12>
<div class="ml-3">
<a href="https://ayanova.com" target="_blank">AyaNova</a>
({{version}}) {{copyright}}
</div>
</v-flex>
</v-layout>
</v-footer>
-->
<v-footer v-if="!isAuthenticated">
<v-footer v-if="!isAuthenticated">
<v-layout>
<v-flex primary py-2 text-xs-center white--text xs12>
<div>
@@ -83,9 +57,6 @@ export default {
drawer: null
};
},
// beforeCreate() {
// },
mounted() {
if (!this.$store.state.authenticated) {
this.$router.replace({ name: "login" });