物业代码生成
This commit is contained in:
28
packages/constants/src/core.ts
Normal file
28
packages/constants/src/core.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* @zh_CN 登录页面 url 地址
|
||||
*/
|
||||
export const LOGIN_PATH = '/auth/login';
|
||||
|
||||
export interface LanguageOption {
|
||||
label: string;
|
||||
value: 'en-US' | 'zh-CN';
|
||||
}
|
||||
|
||||
/**
|
||||
* Supported languages
|
||||
*/
|
||||
export const SUPPORT_LANGUAGES: LanguageOption[] = [
|
||||
{
|
||||
label: '简体中文',
|
||||
value: 'zh-CN',
|
||||
},
|
||||
{
|
||||
label: 'English',
|
||||
value: 'en-US',
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 默认租户ID
|
||||
*/
|
||||
export const DEFAULT_TENANT_ID = '000000';
|
2
packages/constants/src/index.ts
Normal file
2
packages/constants/src/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './core';
|
||||
export * from '@vben-core/shared/constants';
|
Reference in New Issue
Block a user