From c2fccb01b972176dc3da5a497b5e904025e9e98d Mon Sep 17 00:00:00 2001 From: bsw215583320 <baoshiwei121@163.com> Date: 星期二, 16 四月 2024 15:06:51 +0800 Subject: [PATCH] Merge branch 'master' of http://210.22.126.130:1111/r/dry/herb --- src/router/constant.ts | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/router/constant.ts b/src/router/constant.ts index d39a67e..cd5908d 100644 --- a/src/router/constant.ts +++ b/src/router/constant.ts @@ -1,24 +1,24 @@ -export const REDIRECT_NAME = 'Redirect'; +export const REDIRECT_NAME = 'Redirect' -export const PARENT_LAYOUT_NAME = 'ParentLayout'; +export const PARENT_LAYOUT_NAME = 'ParentLayout' -export const PAGE_NOT_FOUND_NAME = 'PageNotFound'; +export const PAGE_NOT_FOUND_NAME = 'PageNotFound' -export const EXCEPTION_COMPONENT = () => import('/@/views/sys/exception/Exception.vue'); +export const EXCEPTION_COMPONENT = () => import('/@/views/sys/exception/Exception.vue') /** * @description: default layout */ -export const LAYOUT = () => import('/@/layouts/default/index.vue'); +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, - }); - }); -}; + return () => + new Promise((resolve) => { + resolve({ + name: PARENT_LAYOUT_NAME, + }) + }) +} -- Gitblit v1.9.3