feat: 完成ruoyi、pure菜单兼容
This commit is contained in:
@@ -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");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user