干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2023-05-24 beca65f4d01ca07c358102a35b949c2a4f277afe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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,
            })
        })
}