Appearance
declare const navigator: Navigator;
获取该客户端当前设备以及屏幕分辨率
定义于 #L273
const deviceInfo = navigator.getDeviceInfo() console.log(JSON.stringify(deviceInfo)) // {"deviceType":"Desktop","screen":{"width":1800,"height":913}}