登录验证码
This commit is contained in:
parent
d268661dec
commit
244a14674b
@ -180,12 +180,12 @@ const onSubmitPre = () => {
|
|||||||
|
|
||||||
const load = () => {
|
const load = () => {
|
||||||
getCaptchaData().then((res) => {
|
getCaptchaData().then((res) => {
|
||||||
form.uuid = res.data.uuid
|
form.uuid = res.data.key
|
||||||
state.captcha = 'data:image\/png;base64,' + res.data.img
|
state.captcha = 'data:image\/png;base64,' + res.data.img
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const onSubmit = (captchaInfo = '') => {
|
const onSubmit = () => {
|
||||||
state.submitLoading = true
|
state.submitLoading = true
|
||||||
login(form)
|
login(form)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user