@@ -109,6 +109,7 @@ export const liveStore = defineStore("live", {
109109 [ key : string ] : any
110110 } ,
111111 eventDefaultUsername : '宝子' ,
112+ eventEnterIgnoreSecond : 120 ,
112113 liveMonitorType : 'douyin' ,
113114 liveMonitorUrl : '' ,
114115 }
@@ -140,6 +141,7 @@ export const liveStore = defineStore("live", {
140141 this . localConfig . config . ttsProviderParam = localConfig . config ?. ttsProviderParam || this . localConfig . config . ttsProviderParam
141142 this . localConfig . config . ttsProviderSetting = localConfig . config ?. ttsProviderSetting || this . localConfig . config . ttsProviderSetting
142143 this . localConfig . config . eventDefaultUsername = localConfig . config ?. eventDefaultUsername || this . localConfig . config . eventDefaultUsername
144+ this . localConfig . config . eventEnterIgnoreSecond = localConfig . config ?. eventEnterIgnoreSecond || this . localConfig . config . eventEnterIgnoreSecond
143145 this . localConfig . config . liveMonitorType = localConfig . config ?. liveMonitorType || this . localConfig . config . liveMonitorType
144146 this . localConfig . config . liveMonitorUrl = localConfig . config ?. liveMonitorUrl || this . localConfig . config . liveMonitorUrl
145147 await this . statusUpdate ( )
@@ -319,14 +321,13 @@ export const liveStore = defineStore("live", {
319321 s . content . replies = s . content . replies . map ( r => {
320322 return {
321323 value : r . value ,
322- sound : r . sound || '' ,
323324 }
324325 } )
325326 flowTalks . push ( {
326327 id : 'FlowTalk' + s . id ,
327328 title : s . title ,
328329 talks : [
329- { value : s . content . reply , sound : '' , } ,
330+ { value : s . content . reply , } ,
330331 ...s . content . replies
331332 ] ,
332333 video : s . content . url ,
@@ -342,15 +343,14 @@ export const liveStore = defineStore("live", {
342343 s . content . replies = s . content . replies . map ( r => {
343344 return {
344345 value : r . value ,
345- sound : r . sound || '' ,
346346 }
347347 } )
348348 if ( s . content . type === 'user' ) {
349349 users . push ( {
350350 id : 'User' + s . id ,
351351 title : s . title ,
352352 talks : [
353- { value : s . content . reply , sound : '' } ,
353+ { value : s . content . reply , } ,
354354 ...s . content . replies
355355 ] ,
356356 keywords : s . content . keywords ,
@@ -361,7 +361,7 @@ export const liveStore = defineStore("live", {
361361 id : 'System' + s . id ,
362362 title : s . title ,
363363 talks : [
364- { value : s . content . reply , sound : '' } ,
364+ { value : s . content . reply , } ,
365365 ...s . content . replies
366366 ] ,
367367 systemType : s . content . systemType ,
@@ -418,6 +418,7 @@ export const liveStore = defineStore("live", {
418418 ttsProviderParam : this . localConfig . config . ttsProviderParam ,
419419 ttsProviderSetting : this . localConfig . config . ttsProviderSetting ,
420420 eventDefaultUsername : this . localConfig . config . eventDefaultUsername ,
421+ eventEnterIgnoreSecond : this . localConfig . config . eventEnterIgnoreSecond ,
421422 } ,
422423 data : await this . buildData ( )
423424 }
0 commit comments