yinbangzhong
2024-09-02 1c180d70f0445fa804b40df106e1fdbb50508c55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { appRoutes, appExternalRoutes } from '../routes';
 
const mixinRoutes = [...appRoutes, ...appExternalRoutes];
 
const appClientMenus = mixinRoutes.map((el) => {
  const { name, path, meta, redirect, children } = el;
  return {
    name,
    path,
    meta,
    redirect,
    children,
  };
});
 
export default appClientMenus;