fix: H5 WebView URL 增加版本参数以绕过缓存

每次 H5 更新后递增 YXG_H5_VERSION,强制小程序 WebView 加载最新静态资源。
This commit is contained in:
jackyu66git
2026-08-25 01:07:48 +08:00
parent e90fac94cf
commit 23baaa01ed
+2 -1
View File
@@ -1,3 +1,4 @@
/** 愈心魔方 H5digital-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}`