验证码填充

This commit is contained in:
fengachen
2021-10-11 15:37:25 +08:00
parent 43b32798a8
commit 4436e7f529
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -51,7 +51,7 @@
type="text"
@change="inputCodeChange"
@paste.native.capture.prevent="handleOperate"
autocomplete="false"
autocomplete="new-password"
placeholder="请输入验证码">
<a-icon slot="prefix" type="safety" :style="{ color: '#B3B7C2',fontSize:'20px'}"/>
</a-input>
@@ -90,7 +90,7 @@
size="large"
v-decorator="['captcha', { rules: validatorRules.captcha.rules,validateTrigger: 'blur'}]"
type="text"
autocomplete="false"
autocomplete="new-password"
placeholder="请输入验证码">
<a-icon slot="prefix" type="safety" :style="{ color: '#B3B7C2',fontSize:'20px'}"/>
</a-input>
@@ -157,7 +157,7 @@ import { getAction } from '@/api/manage'
import { getRSAPublicKey } from '@/api/login.js'
import { JSEncrypt } from 'jsencrypt'
import { phoneReg } from '@/utils/validate'
import { phoneLogin } from '@/api/login.js'
// import { phoneLogin } from '@/api/login.js'
export default {
components: {},
+2 -2
View File
@@ -36,7 +36,7 @@
<a-input
v-decorator="['captcha', { rules: validatorRules.captcha.rules}]"
type="text"
autocomplete="false"
autocomplete="new-password"
placeholder="验证码">
</a-input>
<a-button
@@ -58,8 +58,8 @@
<a-input
placeholder="新密码"
v-decorator="['password', { rules: validatorRules.password.rules}]"
autocomplete="new-password"
@paste.native.capture.prevent="handleOperate"
autocomplete="false"
type="password">
</a-input>
</a-form-item>