fix: H5 WebView URL 增加版本参数以绕过缓存
每次 H5 更新后递增 YXG_H5_VERSION,强制小程序 WebView 加载最新静态资源。
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
/** 愈心魔方 H5(digital-psychology user-h5) */
|
/** 愈心魔方 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_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}`
|
||||||
|
|||||||
Reference in New Issue
Block a user