问题工单后台管理
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.
 
 
 

37 lines
735 B

export const LOGIN_NAME = 'Login';
export const KNOWLEDGE_NAME = 'Knowledge';
export const ISSUE_NAME = 'issue';
export const ENTRANCE_NAME = 'entrance';
export const REDIRECT_NAME = 'Redirect';
export const PARENT_LAYOUT_NAME = 'ParentLayout';
export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
// 路由白名单
export const whiteNameList = [
LOGIN_NAME,
KNOWLEDGE_NAME,
ISSUE_NAME,
ENTRANCE_NAME,
'icons',
'error',
'error-404',
] as const; // no redirect whitelist
export const withoutLoginNameList = [
LOGIN_NAME,
ENTRANCE_NAME,
KNOWLEDGE_NAME,
'icons',
'error',
'error-404',
] as const;
export type WhiteNameList = typeof whiteNameList;
export type WhiteName = (typeof whiteNameList)[number];