项目初始化
This commit is contained in:
4
src/util/fix/index.ts
Normal file
4
src/util/fix/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// 获取设备独立像素
|
||||
const screenWidth = window.screen.width
|
||||
const screenHeight = window.screen.height
|
||||
// 基于1920 * 1080
|
||||
Reference in New Issue
Block a user