|
|
@@ -65,9 +65,9 @@
|
|
|
<a href="#" class="text-blue-500" @click="emit('change', LoginTypeEnum.MOBILE)">
|
|
|
{{ $t('password.mobileLogin') }}
|
|
|
</a>
|
|
|
- <a href="#" class="ml-2 text-primary hover:text-blue-600" @click="emit('change',LoginTypeEnum.FORGET)">
|
|
|
- {{ $t('password.forgetPassword') }}
|
|
|
- </a>
|
|
|
+ <a href="#" class="ml-2 text-primary hover:text-blue-600" @click="emit('change', LoginTypeEnum.FORGET)">
|
|
|
+ {{ $t('password.forgetPassword') }}
|
|
|
+ </a>
|
|
|
<a href="#" v-if="autoRegisterEnable" class="ml-2 text-blue-500" @click="emit('change', LoginTypeEnum.REGISTER)">
|
|
|
{{ $t('password.createAccount') }}
|
|
|
</a>
|
|
|
@@ -108,8 +108,8 @@ const state = reactive({
|
|
|
isShowPassword: false, // 是否显示密码
|
|
|
ruleForm: {
|
|
|
// 表单数据
|
|
|
- username: 'admin', // 用户名
|
|
|
- password: '123456', // 密码
|
|
|
+ username: '', // 用户名
|
|
|
+ password: '', // 密码
|
|
|
code: '', // 验证码
|
|
|
randomStr: 'blockPuzzle', // 验证码随机数
|
|
|
},
|