File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
ui/src/views/login/forgot-password Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 11<template >
22 <login-layout >
3- <LoginContainer :subTitle =" $t('views.system.theme.defaultSlogan')" >
3+ <LoginContainer
4+ :subTitle ="
5+ user.themeInfo?.slogan ? user.themeInfo?.slogan : $t('views.system.theme.defaultSlogan')
6+ "
7+ >
48 <h2 class =" mb-24" >{{ $t('views.login.forgotPassword') }}</h2 >
59 <el-form
610 class =" register-form"
4145 isDisabled
4246 ? `${$t('views.login.verificationCode.resend')}(${time}s)`
4347 : $t('views.login.verificationCode.getVerificationCode')
44- }}</ el-button
45- >
48+ }}
49+ </ el-button >
4650 </div >
4751 </el-form-item >
4852 </div >
4953 </el-form >
50- <el-button size =" large" type =" primary" class =" w-full" @click =" checkCode" >{{
51- $t('views.login.buttons.checkCode')
52- }} </el-button >
54+ <el-button size =" large" type =" primary" class =" w-full" @click =" checkCode"
55+ >{{ $t('views.login.buttons.checkCode') }}
56+ </el-button >
5357 <div class =" operate-container mt-12" >
5458 <el-button
5559 class =" register"
@@ -72,7 +76,10 @@ import type { FormInstance, FormRules } from 'element-plus'
7276import UserApi from ' @/api/user'
7377import { MsgSuccess } from ' @/utils/message'
7478import { t } from ' @/locales'
79+ import useStore from ' @/stores'
80+
7581const router = useRouter ()
82+ const { user } = useStore ()
7683const CheckEmailForm = ref <CheckCodeRequest >({
7784 email: ' ' ,
7885 code: ' ' ,
You can’t perform that action at this time.
0 commit comments