refactor: ♻️ 增加设备枚举类型

This commit is contained in:
cshaptx4869
2024-03-12 11:09:05 +08:00
parent 8b9502cea0
commit e4ccc35bba
4 changed files with 23 additions and 7 deletions

14
src/enums/DeviceEnum.ts Normal file
View File

@@ -0,0 +1,14 @@
/**
* 设备枚举
*/
export const enum DeviceEnum {
/**
* 宽屏设备
*/
DESKTOP = "desktop",
/**
* 窄屏设备
*/
MOBILE = "mobile",
}