增加页面及路由;
修改proxy;
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { http } from "@/utils/http";
|
||||
import { baseUrlApi } from "./utils";
|
||||
|
||||
type Result = {
|
||||
success: boolean;
|
||||
@@ -6,5 +7,7 @@ type Result = {
|
||||
};
|
||||
|
||||
export const getAsyncRoutes = () => {
|
||||
return http.request<Result>("get", "/get-async-routes");
|
||||
// return http.request<Result>("get", "/get-async-routes");
|
||||
// 暂时返回空动态路由
|
||||
return http.request<Result>("get", baseUrlApi("auth/async-routes"));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user