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

---
 cool/hooks/wx.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cool/hooks/wx.ts b/cool/hooks/wx.ts
index 32ac1e9..621d646 100644
--- a/cool/hooks/wx.ts
+++ b/cool/hooks/wx.ts
@@ -1,7 +1,7 @@
 import { ref } from "vue";
 import { onReady, onShow } from "@dcloudio/uni-app";
 import { config } from "/@/config";
-import { getUrlParam, storage } from "../utils";
+import { getSystemInfo, getUrlParam, storage } from "../utils";
 import { service } from "../service";
 import { useI18n } from "vue-i18n";
 // #ifdef H5
@@ -9,7 +9,7 @@
 // #endif
 
 export function useWx() {
-	const { platform } = uni.getSystemInfoSync();
+	const { platform } = getSystemInfo();
 	const { t } = useI18n();
 
 	// 鎺堟潈鐮�

--
Gitblit v1.9.1