Refactor: Remove original Dart references from comments across multiple files
- Updated comments in various components, schemas, and repositories to remove references to original Dart files. - Ensured consistency in documentation while maintaining the context of the code.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* 响应式断点常量
|
||||
*
|
||||
* 原始 Dart: lib/ui/core/responsive.dart
|
||||
*
|
||||
*
|
||||
* 与 `src/design/breakpoints.css` 中的 CSS 变量保持一致:
|
||||
* - 客户端运行时检查(matchMedia)通过 `useBreakpoint` hook
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* API 配置管理
|
||||
*
|
||||
* 通过环境变量配置后端服务地址与超时时间。
|
||||
* 原始 Dart: lib/core/net/service_manager.dart
|
||||
*
|
||||
*/
|
||||
import { AppEnvUtil, type AppEnv } from "@/utils";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* 认证刷新拦截器
|
||||
*
|
||||
* 处理 401 错误,自动刷新 token 并重试原请求。
|
||||
* 原始 Dart: lib/core/net/interceptor/auth_interceptor.dart
|
||||
*
|
||||
*/
|
||||
import type { FetchHook } from "ofetch";
|
||||
import { ApiPath } from "../../../data/services/api/api_path";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* 日志拦截器
|
||||
*
|
||||
* 在开发模式下记录请求/响应/错误日志。
|
||||
* 原始 Dart: lib/core/net/interceptor/app_interceptor.dart 中的日志部分。
|
||||
*
|
||||
*/
|
||||
import type { FetchHook } from "ofetch";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* 在请求头中注入 Authorization: Bearer <token>。
|
||||
* 跳过不需要 token 的路径(登录、注册、发送验证码、刷新等)。
|
||||
* 原始 Dart: lib/core/net/interceptor/token_interceptor.dart + token_paths.dart
|
||||
*
|
||||
*/
|
||||
import type { FetchHook } from "ofetch";
|
||||
import { Logger } from "@/utils";
|
||||
|
||||
Reference in New Issue
Block a user