refactor(frontend): 项目代码重构与优化

1.  重构主题切换动画、路由动画、滚动条样式等全局样式拆分模块化
2.  调整Pinia持久化配置,精细化存储字段
3.  重构路由相关文件结构与导入路径
4.  迁移OAuth工具函数至auth模块
5.  拆分query工具函数为独立模块
6.  优化表格详情弹窗逻辑,预加载数据避免抖动
7.  修复混合菜单滚动按钮样式与图标选择器宽度类型
8.  清理README冗余内容,调整Star提示位置
9.  优化工作标签页与头部栏功能
This commit is contained in:
zhangtao
2026-07-25 01:13:06 +08:00
parent 4b513167cf
commit 20d95d1735
77 changed files with 1677 additions and 2154 deletions
@@ -81,6 +81,7 @@
<script setup lang="ts">
defineOptions({ name: "FaIconSelect" });
import { CircleClose, ArrowDown } from "@element-plus/icons-vue";
import {
listLocalIconBasenames,
isIconifyStoredIcon,
@@ -90,12 +91,12 @@ import {
interface Props {
modelValue?: string;
width?: string;
width?: string | number;
}
const props = withDefaults(defineProps<Props>(), {
modelValue: "",
width: "500px",
width: 500,
});
interface Emits {
@@ -151,6 +151,7 @@ defineSlots<{
[slotName: string]: (props: Record<string, any>) => void;
}>();
import { ArrowDown } from "@element-plus/icons-vue";
import { ref, reactive, computed } from "vue";
import { useResizeObserver } from "@vueuse/core";
import type { FormInstance, PopoverProps, TableInstance } from "element-plus";