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.
24 lines
553 B
24 lines
553 B
export const REDIRECT_NAME = 'Redirect';
|
|
|
|
export const PARENT_LAYOUT_NAME = 'ParentLayout';
|
|
|
|
export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
|
|
|
|
export const EXCEPTION_COMPONENT = () => import('/@/views/sys/exception/Exception.vue');
|
|
|
|
/**
|
|
* @description: default layout
|
|
*/
|
|
export const LAYOUT = () => import('/@/layouts/default/index.vue');
|
|
|
|
/**
|
|
* @description: parent-layout
|
|
*/
|
|
export const getParentLayout = (_name?: string) => {
|
|
return () =>
|
|
new Promise((resolve) => {
|
|
resolve({
|
|
name: PARENT_LAYOUT_NAME,
|
|
});
|
|
});
|
|
};
|
|
|