export const REDIRECT_NAME = 'Redirect'; export const PARENT_LAYOUT_NAME = 'ParentLayout'; export const PAGE_NOT_FOUND_NAME = 'PageNotFound'; export const QIANKUN_ROUTE_NAME = 'MicroApp'; export const QIANKUN_ROUTE_OUTER_NAME = 'MicroAppOuter'; // 暂时修改 export const EXCEPTION_COMPONENT = () => import('/@/views/sys/exception/Exception.vue'); // export const EXCEPTION_COMPONENT = () => import('/@/views/vent/monitorManager/mainFanMonitor/index.vue'); export const QIANKUN_COMPONENT = () => import('/@/components/vent/micro/ventModal.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: _name || PARENT_LAYOUT_NAME, }); }); };