Files
map-screen/src/util/fix/index.ts
2026-01-26 14:37:40 +08:00

5 lines
131 B
TypeScript

// 获取设备独立像素
const screenWidth = window.screen.width
const screenHeight = window.screen.height
// 基于1920 * 1080