From be4e2d7c2b330c3b8991a0286ea16cc1285b9ec0 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 08 May 2026 17:47:32 +0800
Subject: [PATCH] feat: 微信小程序支持上传头像

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

diff --git a/src/utils/common/index.js b/src/utils/common/index.js
index 4de0465..a2bb1d8 100644
--- a/src/utils/common/index.js
+++ b/src/utils/common/index.js
@@ -42,7 +42,7 @@
 }
 export function getStatusBarHeight () {
   try {
-    const systemInfo = uni.getSystemInfoSync()
+    const systemInfo = uni.getWindowInfo()
 
     // #ifdef APP-PLUS
     return systemInfo.statusBarHeight || 0

--
Gitblit v1.9.3