21 lines
349 B
TypeScript
21 lines
349 B
TypeScript
|
|
/*
|
||
|
|
* @Author: RenXiaoDong
|
||
|
|
* @Date: 2025-06-19 01:45:53
|
||
|
|
*/
|
||
|
|
import { appRoutes } from '../routes';
|
||
|
|
|
||
|
|
const mixinRoutes = [...appRoutes];
|
||
|
|
|
||
|
|
const appClientMenus = mixinRoutes.map((el) => {
|
||
|
|
const { name, path, meta, redirect, children } = el;
|
||
|
|
return {
|
||
|
|
name,
|
||
|
|
path,
|
||
|
|
meta,
|
||
|
|
redirect,
|
||
|
|
children,
|
||
|
|
};
|
||
|
|
});
|
||
|
|
|
||
|
|
export default mixinRoutes;
|