From 23baaa01ed5a1d5b28373a9b6dff50e9ffca5a7a Mon Sep 17 00:00:00 2001 From: jackyu66git Date: Tue, 25 Aug 2026 01:07:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20H5=20WebView=20URL=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=82=E6=95=B0=E4=BB=A5=E7=BB=95=E8=BF=87?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 每次 H5 更新后递增 YXG_H5_VERSION,强制小程序 WebView 加载最新静态资源。 --- util/yxgConfig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/yxgConfig.js b/util/yxgConfig.js index 06f2b97..c8cd594 100644 --- a/util/yxgConfig.js +++ b/util/yxgConfig.js @@ -1,3 +1,4 @@ /** 愈心魔方 H5(digital-psychology user-h5) */ +export const YXG_H5_VERSION = '20260825' export const YXG_H5_BASE = 'https://h5.yuxingu.com.cn/psy/' -export const YXG_H5_HOME_URL = `${YXG_H5_BASE}?mp=1` +export const YXG_H5_HOME_URL = `${YXG_H5_BASE}?mp=1&v=${YXG_H5_VERSION}`