fix: 兼容后端 code 类型不统一问题
This commit is contained in:
@@ -88,7 +88,7 @@ export interface PageData<T> {
|
||||
|
||||
/** 统一响应包裹 */
|
||||
export interface ApiResult<T> {
|
||||
code: string;
|
||||
code: number | string;
|
||||
msg: string;
|
||||
data: T;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user