操作系统相关函数
typescript
/**
* @description getOS 获取当前操作系统类型
* @returns {string}
* @example
* getOS(); // Android | IOS | Windows | Mac | Linux | Unknown Unknown为未知操作系统
*/typescript
/**
* @description 获取设当前备类型
* @returns {string}
* @example
* getDevice(); // Mobile | Tablet | PC | Unknown Unknown为未知设备类型
*/