增加页面及路由;

修改proxy;
This commit is contained in:
lucienteng
2024-09-04 15:30:39 +08:00
parent 3352e03935
commit 9a9a08b7ca
8 changed files with 27 additions and 17 deletions

View File

@@ -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"));
};