[feat] autofocus on login

This commit is contained in:
les 2019-11-03 00:52:25 +01:00
parent 6341eadc74
commit fa40ea4ade

View file

@ -1,5 +1,5 @@
<template lang='pug'>
el-dialog(:visible='show' @close='close' :close-on-click-modal='false'
el-dialog(:visible='show' @close='close' :close-on-click-modal='false' @opened='() => $refs.email.focus()'
append-to-body :title="$t('common.login')")
p(v-html="$t('login.description')")