升级Vue3,iView替换ElementPlus

- 删除babel配置、更新依赖与入口初始化
- 全量替换UI组件、样式适配,新增迁移文档与标签/过滤器自动化替换脚本
This commit is contained in:
lifenlong
2026-06-05 17:49:43 +08:00
parent 615ee91511
commit 832fda813b
322 changed files with 25693 additions and 24453 deletions

View File

@@ -1,7 +1,7 @@
import axios from "axios";
import { getStore, setStore } from "./storage";
import { router } from "../router/index";
import { Message } from "view-design";
import { Message } from "@/utils/message";
import Cookies from "js-cookie";
import { handleRefreshToken } from "@/api/index";
import {v4 as uuidv4} from 'uuid';
@@ -25,8 +25,8 @@ const service = axios.create({
});
axios.defaults.timeout = 100000
const recordCurrentPath = () => {
return router.history.current.fullPath
}
return router.currentRoute.value.fullPath;
};
// 跳转登录页
const redirectLogin = () => {
router.push({path:'/login',query:{redirect: recordCurrentPath()}});