Files
lingji-work-fe/src/router/app-menus/index.ts

21 lines
349 B
TypeScript
Raw Normal View History

2025-06-23 23:59:08 -04:00
/*
* @Author: RenXiaoDong
* @Date: 2025-06-19 01:45:53
*/
import { appRoutes } from '../routes';
2025-06-16 14:42:26 +08:00
2025-06-23 23:59:08 -04:00
const mixinRoutes = [...appRoutes];
2025-06-16 14:42:26 +08:00
const appClientMenus = mixinRoutes.map((el) => {
const { name, path, meta, redirect, children } = el;
return {
name,
path,
meta,
redirect,
children,
};
});
export default mixinRoutes;