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