From db685b04e52efd75213ef7540fdc0bed7dccfd9e Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期一, 26 十月 2026 21:13:37 +0800
Subject: [PATCH] 更新小程序

---
 uni_modules/cool-ui/components/cl-popup/cl-popup.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/uni_modules/cool-ui/components/cl-popup/cl-popup.vue b/uni_modules/cool-ui/components/cl-popup/cl-popup.vue
index 432a1d2..62186cd 100644
--- a/uni_modules/cool-ui/components/cl-popup/cl-popup.vue
+++ b/uni_modules/cool-ui/components/cl-popup/cl-popup.vue
@@ -46,10 +46,8 @@
 
 <script lang="ts">
 import { computed, defineComponent, ref, watch, type PropType } from "vue";
-import { parseRpx } from "/@/cool/utils";
+import { getSystemInfo, parseRpx } from "/@/cool/utils";
 import { router } from "/@/cool";
-
-const { statusBarHeight = 0 } = uni.getSystemInfoSync();
 
 let id = 1;
 
@@ -115,6 +113,7 @@
 	emits: ["update:modelValue", "open", "opened", "close", "closed"],
 
 	setup(props, { emit }) {
+		const { statusBarHeight = 0 } = getSystemInfo();
 		// 鏄惁鍙
 		const visible = ref(false);
 

--
Gitblit v1.9.1