refactor: 使用vue3组合式API重构登录页代码 #46
Annotations
10 errors
Type-Check
Parameter 'type' implicitly has an 'any' type.
|
Type-Check
'formDataRef.value' is possibly 'null'.
|
Type-Check
Parameter 'valid' implicitly has an 'any' type.
|
Type-Check
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ login: boolean; register: boolean; }'.
|
Type-Check
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ login: (data: any) => Promise<AxiosResponse<any, any>>; register: (data: any) => Promise<AxiosResponse<any, any>>; }'.
|
Type-Check
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ login: boolean; register: boolean; }'.
|
Type-Check
Type 'string' is not assignable to type '{ name: string; }'.
|
Type-Check
Argument of type 'string | LocationQueryValue[]' is not assignable to parameter of type 'string'.
|
Type-Check
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ login: boolean; register: boolean; }'.
|
Type-Check
Property 'code' does not exist on type 'AxiosResponse<any, any>'.
|
The logs for this run have expired and are no longer available.
Loading