You need to sign in or sign up before continuing.
Commit 97cc3d2a authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

Beta

See merge request !100
parents c368cff4 831bd744
......@@ -368,7 +368,8 @@ function ttsSocketSendText(text: string, audioUrlSerialNo: number, messageId: st
}
ttsSocketCtl.onMessageError = () => {
emit('updateSpecifyMessageItem', messageId, { isVoiceLoading: false })
emit('updateSpecifyMessageItem', messageId, { isVoiceLoading: false, voiceFragmentUrlList: [] })
emit('audioPause')
sentenceSpeechException.value = true
messageAudioLoading.value = false
window.$message.error(t('common_module.unplayable_tip'))
......
......@@ -94,7 +94,7 @@ function handleRenderTimbreOption() {
return {
label: () =>
h('div', { class: 'flex items-baseline justify-between w-[180px]' }, [
h('span', {}, { default: () => item.timbreName }),
h('span', { class: 'max-w-[160px] line-clamp-1 whitespace-normal' }, { default: () => item.timbreName }),
h('i', {
class: {
......
......@@ -80,8 +80,7 @@ function handleClickChannelPublishTableAction(actionType: string) {
}
function handleAccessPage() {
const channelUrl = `${window.location.origin}/fe/share/web_source/${router.currentRoute.value.params.agentId}`
location.href = channelUrl
router.push({ name: 'ShareWebApplication', params: { agentId: router.currentRoute.value.params.agentId } })
}
function handleCopyShareLink() {
......
......@@ -347,7 +347,8 @@ function ttsSocketSendText(text: string, audioUrlSerialNo: number, messageId: st
}
ttsSocketCtl.onMessageError = () => {
emit('updateSpecifyMessageItem', messageId, { isVoiceLoading: false })
emit('updateSpecifyMessageItem', messageId, { isVoiceLoading: false, voiceFragmentUrlList: [] })
emit('audioPause')
sentenceSpeechException.value = true
messageAudioLoading.value = false
window.$message.error(t('common_module.unplayable_tip'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment