@@ -33,7 +33,7 @@ function C1unity() {
const res = Reflect.get(temp, isPc ? 'pc' : 'mo')
- setUrl(otherUrl + res)
+ setUrl(`${otherUrl + res}?T=${Date.now()}`)
// 注册
window.unityOpenHot = (index: number) => {
@@ -27,8 +27,8 @@ function C2unityEnd() {
const key = urlObj.key
const objTemp = Reflect.get(obj, key)
- const url = Reflect.get(objTemp, isPc ? 'pc' : 'app')
- setUrl(otherUrl + url)
+ const res = Reflect.get(objTemp, isPc ? 'pc' : 'app')
}, [urlObj.key])
useEffect(() => {