|
|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
import { defineComponent, computed, onMounted } from 'vue'
|
|
|
|
|
import { usePageStore } from '@/store/page'
|
|
|
|
|
import { useAppStore } from '@/store/app'
|
|
|
|
|
import UserAvatar from './UserAvatar'
|
|
|
|
|
import UserClock from './UserClock'
|
|
|
|
|
import UserInput from './UserInput'
|
|
|
|
|
import { focusInputPassword } from '@/utils/helper'
|
|
|
|
|
|
|
|
|
|
@ -10,7 +8,6 @@ export default defineComponent({
|
|
|
|
|
name: 'LoginComponent',
|
|
|
|
|
setup() {
|
|
|
|
|
const pageStore = usePageStore()
|
|
|
|
|
const appStore = useAppStore()
|
|
|
|
|
|
|
|
|
|
const activeBlock = computed(() => pageStore.activeBlock)
|
|
|
|
|
|
|
|
|
|
@ -21,7 +18,6 @@ export default defineComponent({
|
|
|
|
|
return () => (
|
|
|
|
|
<div class={`block-${activeBlock.value?.id}`}>
|
|
|
|
|
<div class="active-interface login-view">
|
|
|
|
|
{appStore.showTime && <UserClock />}
|
|
|
|
|
<UserAvatar />
|
|
|
|
|
<UserInput />
|
|
|
|
|
</div>
|
|
|
|
|
|