duanshenglang 3 тижнів тому
батько
коміт
2fb5212bb7
2 змінених файлів з 2 додано та 1 видалено
  1. 1 0
      lottery/chat.html
  2. 1 1
      lottery/sessionList.html

+ 1 - 0
lottery/chat.html

@@ -173,6 +173,7 @@
         this.corpId = this.getQueryParam('corpId')
         this.memberId = this.getQueryParam('memberId')
         this.sessionId = this.getQueryParam('sessionId')
+        document.title = this.getQueryParam('sessionName')
         this.chatData()
         this.startPolling()
       },

+ 1 - 1
lottery/sessionList.html

@@ -194,7 +194,7 @@
         },
         handlePrize (item) {
           if (item.onlineStatus) {
-            window.location.href = `chat.html?httpUrl=${this.httpUrl}&corpId=${this.corpId}&memberId=${this.memberId}&sessionId=${item.sessionId}`;
+            window.location.href = `chat.html?httpUrl=${this.httpUrl}&corpId=${this.corpId}&memberId=${this.memberId}&sessionId=${item.sessionId}$sessionName=${item.sessionName}`;
           } else {
             return false
           }