Remove app dev mode frontend routes

This commit is contained in:
2026-06-09 00:29:12 +08:00
parent a89b24f97a
commit 0303ba977e
6 changed files with 24 additions and 126 deletions
-5
View File
@@ -110,19 +110,14 @@ export interface MenuStats {
/**
* 获取用户所有菜单(路由树)
* @param applicationCode 应用编码,用于过滤应用专属菜单
* @param devMode 开发模式:true只返回系统菜单,false只返回应用菜单
*/
export async function getAllMenusApi(
applicationCode?: string,
devMode?: boolean,
) {
const params: Record<string, any> = {};
if (applicationCode) {
params.application_code = applicationCode;
}
if (devMode !== undefined) {
params.devMode = devMode;
}
return requestClient.get<RouteRecordStringComponent[]>(
'/api/core/menu/route/tree',
{ params },