AJ-Captcha vue2 增加验证码二次校验

This commit is contained in:
xingyu
2022-08-03 09:48:51 +08:00
parent e842d2e0ad
commit b78378ce44
3 changed files with 8 additions and 3 deletions

View File

@ -3,10 +3,11 @@ import { getRefreshToken } from '@/utils/auth'
import service from '@/utils/request'
// 登录方法
export function login(username, password, socialType, socialCode, socialState) {
export function login(username, password, captchaVerification, socialType, socialCode, socialState) {
const data = {
username,
password,
captchaVerification,
// 社交相关
socialType,
socialCode,