버그 수정

This commit is contained in:
2025-10-11 15:04:32 +09:00
parent 8783bb17c5
commit 717ee2a255
7 changed files with 9 additions and 8 deletions

View File

@@ -211,6 +211,8 @@ const question = () => {
global.element.chatEditorArea.classList.remove('cus-hide');
// 채팅 구독 메시지 보내기
localStorage.setItem(global.tabId, talkId)
localStorage.setItem('workId', global.work.workId)
localStorage.setItem('workNm', global.work.workNm)
// 발 생성자 주입
global.chatCreator = global.tabId;
talkEvent.join(global.talkParams({

View File

@@ -182,7 +182,6 @@ const talkEvent = {
workSubscribe: () => {
return global.stomp.subscribe(`/exchange/work.exchange/work.${global.work.workId}`, async function (content) {
const payload = JSON.parse(content.body);
console.log('workSubscribe', payload)
let sendFlag = false;
while (!sendFlag) {
if (global.serviceWorkerConnect) {

View File

@@ -46,7 +46,7 @@ class Talk {
global.option = Common.mergeObject(options, default_options)
/*서비스워커 윈도우 클라이언트 특정 하기 위한 url 맵핑*/
if(options.url !== undefined && options.url !== '') {
if(options.url !== '' && options.url !== undefined) {
global.currentUrl = options.url;
} else {
global.currentUrl = window.location.href;