feat: 迁移前端资源文件并重构项目结构

refactor: 优化前端代码结构和资源管理

style: 调整前端代码格式和样式

chore: 更新.gitignore和构建配置

fix: 修复前端资源路径和引用问题

docs: 更新前端文档和注释

perf: 优化前端性能和加载速度

test: 更新前端测试用例

build: 调整前端构建配置

ci: 更新CI/CD配置
This commit is contained in:
zhangtao
2026-05-09 00:46:43 +08:00
parent 1bd125d99b
commit bf81480ada
967 changed files with 21018 additions and 83019 deletions
+7 -2
View File
@@ -1,4 +1,5 @@
import request from "@/utils/request";
import request from "@utils/http";
import { NO_AUTH_FLAG } from "@utils/http";
const API_PATH = "/system/param";
@@ -12,15 +13,19 @@ const ParamsAPI = {
});
},
/** 登录前拉取站点参数:不带 Token,避免过期 JWT 导致 401 无法展示底部备案等 */
getInitConfig() {
return request<ApiResponse<ConfigTable[]>>({
url: `${API_PATH}/info`,
method: "get",
headers: {
Authorization: NO_AUTH_FLAG,
},
});
},
listParams(query: ConfigPageQuery) {
return request<ApiResponse<PageResult<ConfigTable[]>>>({
return request<ApiResponse<PageResult<ConfigTable>>>({
url: `${API_PATH}/list`,
method: "get",
params: query,