From 98945badb71cd48e66fd64af2c8f3528f19a18ad Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期六, 26 二月 2022 10:24:05 +0800
Subject: [PATCH] #

---
 uni_modules/uni-popup/components/uni-popup/uni-popup.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
index bd12076..a1f8da6 100644
--- a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
+++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
@@ -179,7 +179,7 @@
 			this.popupWidth = windowWidth
 			this.popupHeight = windowHeight + windowTop
 			// TODO fix by mehaotian 鏄惁閫傞厤搴曢儴瀹夊叏鍖� ,鐩墠寰俊ios 銆佸拰 app ios 璁$畻鏈夊樊寮傦紝闇�瑕佹鏋朵慨澶�
-			if(safeArea){
+			if(safeArea && this.safeArea){
 				// #ifdef MP-WEIXIN
 				this.safeAreaInsets = screenHeight - safeArea.bottom
 				// #endif

--
Gitblit v1.9.1