提交代码
This commit is contained in:
23
src/constant/index.js
Normal file
23
src/constant/index.js
Normal file
@ -0,0 +1,23 @@
|
||||
// 用于保存各种常量
|
||||
export const TOKEN = "token";
|
||||
|
||||
//时间戳
|
||||
export const TIME_STAMP = "timeStamp";
|
||||
|
||||
//定义超时时长 2小时
|
||||
export const TOKEN_TIMEOUT_VSLUE = 24 * 3600 * 1000 * 30;
|
||||
|
||||
//主题色保存的key
|
||||
export const MAIN_COLOR = "mainColor";
|
||||
|
||||
//默认主题色
|
||||
export const DEFAULT_COLOR = "#409eff";
|
||||
|
||||
// tags
|
||||
export const TAGS_VIEW = "tagsView";
|
||||
|
||||
//form 表单 label-width
|
||||
export const LABEL_WIDTH = "100px";
|
||||
|
||||
//form 表单 自定义宽度
|
||||
export const COMPONENT_WIDTH = "240px";
|
Reference in New Issue
Block a user