登录验证码

This commit is contained in:
刘玉霞 2024-06-19 11:41:29 +08:00
parent d268661dec
commit 244a14674b

View File

@ -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) => {