mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-27 21:44:52 +08:00
29 lines
540 B
TypeScript
29 lines
540 B
TypeScript
|
export enum sizeEnum {
|
||
|
XS = 'XS',
|
||
|
SM = 'SM',
|
||
|
MD = 'MD',
|
||
|
LG = 'LG',
|
||
|
XL = 'XL',
|
||
|
XXL = 'XXL',
|
||
|
}
|
||
|
|
||
|
export enum screenEnum {
|
||
|
XS = 480,
|
||
|
SM = 576,
|
||
|
MD = 768,
|
||
|
LG = 992,
|
||
|
XL = 1200,
|
||
|
XXL = 1600,
|
||
|
}
|
||
|
|
||
|
const screenMap = new Map<sizeEnum, number>();
|
||
|
|
||
|
screenMap.set(sizeEnum.XS, screenEnum.XS);
|
||
|
screenMap.set(sizeEnum.SM, screenEnum.SM);
|
||
|
screenMap.set(sizeEnum.MD, screenEnum.MD);
|
||
|
screenMap.set(sizeEnum.LG, screenEnum.LG);
|
||
|
screenMap.set(sizeEnum.XL, screenEnum.XL);
|
||
|
screenMap.set(sizeEnum.XXL, screenEnum.XXL);
|
||
|
|
||
|
export { screenMap };
|