fix: 更改API相关接口的路径

This commit is contained in:
valarchie
2023-08-05 14:48:16 +08:00
parent 55814a6a30
commit 49a3b118e1
11 changed files with 19 additions and 122 deletions

View File

@@ -25,7 +25,7 @@ import { buildHierarchyTree } from "@/utils/tree";
import { isUrl, openLink, storageSession, isAllEmpty } from "@pureadmin/utils";
import remainingRouter from "./modules/remaining";
import { TokenDTO } from "@/api/common";
import { TokenDTO } from "@/api/common/login";
/** 自动导入全部静态路由,无需再手动引入!匹配 src/router/modules 目录(任何嵌套级别)中具有 .ts 扩展名的所有文件,除了 remaining.ts 文件
* 如何匹配所有文件请看https://github.com/mrmlnc/fast-glob#basic-syntax

View File

@@ -27,8 +27,8 @@ const IFrame = () => import("@/layout/frameView.vue");
const modulesRoutes = import.meta.glob("/src/views/**/*.{vue,tsx}");
// 动态路由
import { getAsyncRoutes } from "@/api/routes";
import { TokenDTO } from "@/api/common";
import { getAsyncRoutes } from "@/api/common/login";
import { TokenDTO } from "@/api/common/login";
function handRank(routeInfo: any) {
const { name, path, parentId, meta } = routeInfo;