You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
332 B
17 lines
332 B
|
3 years ago
|
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;
|