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/mp-html/components/mp-html/parser.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/uni_modules/mp-html/components/mp-html/parser.js b/uni_modules/mp-html/components/mp-html/parser.js
index 5a93000..731b222 100644
--- a/uni_modules/mp-html/components/mp-html/parser.js
+++ b/uni_modules/mp-html/components/mp-html/parser.js
@@ -81,7 +81,9 @@
// #ifdef MP-WEIXIN
system
// #endif
-} = uni.getSystemInfoSync()
+} = (uni.getWindowInfo && uni.getDeviceInfo
+ ? { ...uni.getDeviceInfo(), ...uni.getWindowInfo() }
+ : uni.getSystemInfoSync())
const blankChar = makeMap(' ,\r,\n,\t,\f')
let idIndex = 0
--
Gitblit v1.9.1