refactor(登录): 将登录接口字段改为可选并添加登录逻辑
将登录接口的 code 和 uuid 字段改为可选,为后续对接真实登录接口做准备 在登录页面添加登录函数调用逻辑,并处理错误情况
This commit is contained in:
@@ -7,8 +7,8 @@ import { http } from '@/http/http'
|
||||
export interface ILoginForm {
|
||||
username: string
|
||||
password: string
|
||||
code: string
|
||||
uuid: string
|
||||
code?: string
|
||||
uuid?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user