实现页面模板与用户管理页面基本功能

Signed-off-by: luorijun <luorijun@outlook.com>
This commit is contained in:
2025-12-29 18:01:16 +08:00
parent f950906f00
commit 37aaff439a
21 changed files with 1117 additions and 158 deletions

View File

@@ -30,9 +30,6 @@ type ExtraReq<T extends (...args: never) => unknown> = T extends (
type ExtraResp<T extends (...args: never) => unknown> =
Awaited<ReturnType<T>> extends ApiResponse<infer D> ? D : never
// 预定义错误
const UnauthorizedError = new Error("未授权访问")
export {
API_BASE_URL,
CLIENT_ID,
@@ -41,5 +38,4 @@ export {
type PageRecord,
type ExtraReq,
type ExtraResp,
UnauthorizedError,
}