refactor: 清理无用导入、重构组件路径与统一依赖导入

1.  移除 .prettierignore 和 tsconfig.json 中对 src/types/import/ 的配置
2.  全局替换 @/utils/message 导入为直接从 element-plus 导入组件
3.  移动并统一组件路径:将 widget/fa-icon-button 迁移至 others/fa-icon-button
4.  新增多环境配置示例文件与docker部署配置
5.  补充类型导入与类型文件统一导出
6.  修复卡片样式与布局细节问题
7.  移除过时的 initIconify 同步初始化函数
This commit is contained in:
zhangtao
2026-07-24 02:03:07 +08:00
parent 77860b0478
commit 096fa8e6da
198 changed files with 1419 additions and 1154 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ import { MenuTable, MenuForm } from "@/api/module_system/menu";
const API_PATH = "/system/user";
export const UserAPI = {
getCurrentUserInfo() {
getCurrentUserInfo(checkDataScope?: boolean) {
return request<ApiResponse<UserInfo>>({
url: `${API_PATH}/current/info`,
method: "get",
params: checkDataScope === false ? { check_data_scope: false } : undefined,
});
},