Skip to content

Commit

Permalink
fix: getCurrentSize
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Apr 1, 2020
1 parent 2415fbf commit a227f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/app-plus/service/api/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function getStatusbarHeight () {
}

export function getScreenInfo () {
const { resolutionWidth, resolutionHeight } = plus.screen.getCureentSize()
const { resolutionWidth, resolutionHeight } = plus.screen.getCurrentSize()
return {
screenWidth: Math.round(resolutionWidth),
screenHeight: Math.round(resolutionHeight)
Expand Down

0 comments on commit a227f18

Please sign in to comment.