feat: 完成ruoyi、pure菜单兼容

This commit is contained in:
橙子
2024-09-07 02:17:07 +08:00
parent 9fc5b521e5
commit 978a7fab4c
16 changed files with 1052 additions and 437 deletions

View File

@@ -1,10 +1,10 @@
import { http } from "@/utils/http";
type Result = {
success: boolean;
data: Array<any>;
};
import type { Result } from "@/api/result";
export const getAsyncRoutes = () => {
return http.request<Result>("get", "/get-async-routes");
};
export const getRoutes = () => {
return http.request<Result>("get", "/account/Vue3Router/pure");
};