From d187f73bc191dfffef5eda8f463eceb1572646ce Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 19 Dec 2025 16:00:42 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.3' of http://139.196.74.78:10010/r/drone/drone-app into feature/v9.0/9.0.3

---
 src/utils/common/index.js |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/utils/common/index.js b/src/utils/common/index.js
index c8cacc3..4de0465 100644
--- a/src/utils/common/index.js
+++ b/src/utils/common/index.js
@@ -2,7 +2,7 @@
  * @Author       : yuan
  * @Date         : 2025-10-15 15:52:12
  * @LastEditors  : yuan
- * @LastEditTime : 2025-10-16 17:57:16
+ * @LastEditTime : 2025-12-17 14:09:14
  * @FilePath     : \src\utils\common\index.js
  * @Description  :
  * Copyright 2025 OBKoro1, All Rights Reserved.
@@ -43,6 +43,18 @@
 export function getStatusBarHeight () {
   try {
     const systemInfo = uni.getSystemInfoSync()
+
+    // #ifdef APP-PLUS
+    return systemInfo.statusBarHeight || 0
+    // #endif
+
+    // #ifdef MP-WEIXIN
+    return 0
+    // #endif
+
+    // #ifdef H5
+    return systemInfo.statusBarHeight || 0
+    // #endif
     return systemInfo.statusBarHeight || 0
   } catch (error) {
     return 0

--
Gitblit v1.9.3