mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: 模拟后台返回不同角色路由生成动态路由
This commit is contained in:
5
src/api/routes.ts
Normal file
5
src/api/routes.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { http } from "../utils/http";
|
||||
|
||||
export const getAsyncRoutes = (data?: object): any => {
|
||||
return http.request("get", "/getAsyncRoutes", data);
|
||||
};
|
||||
Reference in New Issue
Block a user