mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 14:20:21 +08:00
build(projects): update tsconfig、eslintrc
This commit is contained in:
@@ -3,13 +3,13 @@ export async function handleServiceResult<T = any>(error: Service.RequestError |
|
||||
if (error) {
|
||||
const fail: Service.FailedResult = {
|
||||
error,
|
||||
data: null
|
||||
data: null,
|
||||
};
|
||||
return fail;
|
||||
}
|
||||
const success: Service.SuccessResult<T> = {
|
||||
error: null,
|
||||
data
|
||||
data,
|
||||
};
|
||||
return success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user