shaogen1995 11 月之前
父節點
當前提交
1995db178d
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Code/src/pages/C1unity/index.tsx
  2. 2 2
      Code/src/pages/C2unityEnd/index.tsx
  3. 二進制
      资源/staticData/base/end.mp4

+ 1 - 1
Code/src/pages/C1unity/index.tsx

@@ -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) => {

+ 2 - 2
Code/src/pages/C2unityEnd/index.tsx

@@ -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')
+    setUrl(`${otherUrl + res}?T=${Date.now()}`)
   }, [urlObj.key])
 
   useEffect(() => {

二進制
资源/staticData/base/end.mp4