diff --git a/packages/mixins/safe-area.ts b/packages/mixins/safe-area.ts index 34858f96..ac63e923 100644 --- a/packages/mixins/safe-area.ts +++ b/packages/mixins/safe-area.ts @@ -8,7 +8,7 @@ function getSafeArea() { wx.getSystemInfo({ success: ({ model, statusBarHeight }) => { const deviceType = model.replace(/\s/g, '-'); - const iphoneNew = /iphone-x|iPhone11|iPhone12/i.test(deviceType); + const iphoneNew = /iphone-x|iPhone11|iPhone12|iPhone13/i.test(deviceType); cache = { isIPhoneX: iphoneNew,