From b934f9f9a59e84a1af40ff139418a7d30dd68402 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期五, 07 三月 2025 17:30:34 +0800 Subject: [PATCH] = --- src/uni_modules/uview-plus/components/u-parse/parser.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/uni_modules/uview-plus/components/u-parse/parser.js b/src/uni_modules/uview-plus/components/u-parse/parser.js index c251cbf..dc93c9d 100644 --- a/src/uni_modules/uview-plus/components/u-parse/parser.js +++ b/src/uni_modules/uview-plus/components/u-parse/parser.js @@ -75,12 +75,16 @@ } } const tagSelector={} +// #ifdef APP || H5 || MP-WEIXIN +const { windowWidth } = uni.getWindowInfo() +const { system } = uni.getDeviceInfo() +// #endif +// #ifndef APP || H5 || MP-WEIXIN const { windowWidth, - // #ifdef MP-WEIXIN system - // #endif } = uni.getSystemInfoSync() +// #endif const blankChar = makeMap(' ,\r,\n,\t,\f') let idIndex = 0 -- Gitblit v1.9.1