验证码填充
This commit is contained in:
@@ -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: {},
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user