liming 4 hari lalu
induk
melakukan
770630eaa5
3 mengubah file dengan 12 tambahan dan 10 penghapusan
  1. 7 6
      .env
  2. 2 1
      src/stores/modules/webSocketStore.js
  3. 3 3
      src/updater/update.json

+ 7 - 6
.env

@@ -8,14 +8,15 @@ VITE_DEV_PATH='https://wallet.angeltokens.io'
 VITE_PRO_PATH='https://wallet.angeltokens.io'
 
 
-# VITE_IM_PATH_FIlE ='https://nim.angeltokens.io/api/v1/file/'
-# VITE_PRO_IM_WSS ='wss://nim.angeltokens.io/api/v1/socket.io'
-# VITE_PRO_IM_PATH='https://nim.angeltokens.io' 
+VITE_IM_PATH_FIlE ='https://nim.angeltokens.io/api/v1/file/'
+VITE_PRO_IM_WSS ='wss://nim.angeltokens.io/api/v1/socket.io'
+VITE_PRO_IM_PATH='https://nim.angeltokens.io' 
 
+VITE_DEV_IM_PATH='https://nim.angeltokens.io'
 
-VITE_IM_PATH_FIlE ='http://192.168.0.59:8888/api/v1/file/'
-VITE_PRO_IM_WSS ='ws://192.168.0.59:8888/api/v1/socket.io'
-VITE_DEV_IM_PATH='http://192.168.0.59:8888'
+# VITE_IM_PATH_FIlE ='http://192.168.0.59:8888/api/v1/file/'
+# VITE_PRO_IM_WSS ='ws://192.168.0.59:8888/api/v1/socket.io'
+# VITE_DEV_IM_PATH='http://192.168.0.59:8888'
 
 
 VITE_PRO_BACKEND_PATH='https://backend.angeltoken.net'

+ 2 - 1
src/stores/modules/webSocketStore.js

@@ -138,6 +138,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
     connect(userUuid) {
       if (!userUuid) return;
       console.log("开始连接...");
+      this.uuid = userUuid;
       this.disconnect(); // 确保先断开现有连接
 
       this.peer = new RTCPeerConnection();
@@ -218,7 +219,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
       );
 
       setTimeout(() => {
-        this.connect(localStorage.uuid);
+        this.connect(this.uuid);
         this.lockConnection = false;
       }, this.reconnectInterval);
     },

+ 3 - 3
src/updater/update.json

@@ -1,7 +1,7 @@
 {
-  "version": "1.0.52",
-  "releaseDate": "2025-08-11 10:23:59",
-  "checksum": "a7ed6a37c0515bb284ddb3dd538010f20adf8af6e3cb035c29cdf8b60cc5d633",
+  "version": "1.0.54",
+  "releaseDate": "2025-08-11 11:15:30",
+  "checksum": "6e113d8daf10836fccb51cdae7631218dcbe90b0476b0ffc75d8f01ff48992c7",
   "minBinaryVersion": "1.0.0",
   "mandatory": true,
   "upDataDescription": "✨修正一些錯誤。。。。!!!"