Przeglądaj źródła

fix:修改过期时间为晚上24小时

余尚辉 1 miesiąc temu
rodzic
commit
9cc998e88e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/store/modules/voice.js

+ 1 - 1
src/store/modules/voice.js

@@ -329,7 +329,7 @@ const useVoiceStore = defineStore('voice', () => {
         await HS_CTI.init();
         await HS_CTI.init();
   
   
         // 设置 cookie,假设没有异步问题
         // 设置 cookie,假设没有异步问题
-        setCookieWithExpireAt1150('sdkRegister', 'true', 17, 38);
+        setCookieWithExpireAt1150('sdkRegister', 'true', 24, 0);
   
   
         // 监听事件
         // 监听事件
         listenScoketEvent(CTIEvent);
         listenScoketEvent(CTIEvent);