localized vue login, added language switcher block

This commit is contained in:
2019-05-21 14:56:34 +02:00
parent a8c8d04408
commit 1c040f261e
8 changed files with 191 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
<template lang="html">
<UserTools v-if="isloggedin" />
<Login v-else />
<Login v-bind:title="title" v-bind:form="form" v-else />
</template>
<script>
@@ -10,9 +10,7 @@ import Login from 'vuejs/components/User/Login'
import UserTools from 'vuejs/components/User/UserTools'
export default {
// data () {
// return {}
// },
props: ['title', 'form'],
computed: {
...mapState({
isloggedin: state => state.User.isloggedin