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-topbar/cl-topbar.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/uni_modules/cool-ui/components/cl-topbar/cl-topbar.vue b/uni_modules/cool-ui/components/cl-topbar/cl-topbar.vue
index 187f872..9e5ed26 100644
--- a/uni_modules/cool-ui/components/cl-topbar/cl-topbar.vue
+++ b/uni_modules/cool-ui/components/cl-topbar/cl-topbar.vue
@@ -46,9 +46,7 @@
 <script lang="ts">
 import { computed, defineComponent, onMounted, ref } from "vue";
 import { router } from "/@/cool";
-import { isIos } from "/@/cool/utils";
-
-const { statusBarHeight } = uni.getSystemInfoSync();
+import { getSystemInfo, isIos } from "/@/cool/utils";
 
 export default defineComponent({
 	name: "cl-topbar",
@@ -92,6 +90,7 @@
 	},
 
 	setup(props, { emit }) {
+		const { statusBarHeight = 0 } = getSystemInfo();
 		// 鏄惁椤甸潰鏍堢殑绗竴涓�
 		const isFirst = ref(false);
 

--
Gitblit v1.9.1