|
@@ -16,14 +16,16 @@ import ttsUtils from './tts/ttsUtils';
|
|
|
|
|
|
const handleSend = async (msgList) => {
|
|
|
|
|
|
- msgList.demoVideo.play()
|
|
|
- msgList.isClick = !msgList.isClick
|
|
|
const data = {
|
|
|
AppId: '0c8ff06b-91d9-43f7-b61e-ca5da1db15d4',
|
|
|
AId: 'TK1234',
|
|
|
content: ''
|
|
|
}
|
|
|
if (msgList.chatMsg != '') {
|
|
|
+ msgList.demoVideo1 = false
|
|
|
+ msgList.demoVideo.play()
|
|
|
+
|
|
|
+
|
|
|
msgList.isloading[msgList.len] = true
|
|
|
msgList.len++
|
|
|
let obj = {
|
|
@@ -42,9 +44,8 @@ const handleSend = async (msgList) => {
|
|
|
ttsUtils.toSpeak(obj.otherContent)
|
|
|
|
|
|
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
+ msgList.isClick = !msgList.isClick
|
|
|
msgList.otherContent = ''
|
|
|
}
|
|
|
|
|
@@ -75,7 +76,7 @@ const getChatContent = ((msgList, text, index) => {
|
|
|
msgList.textCount = 0
|
|
|
msgList.isloading[index - 1] = false
|
|
|
msgList.isClick = !msgList.isClick
|
|
|
-
|
|
|
+
|
|
|
// logo视频静止
|
|
|
msgList.demoVideo.seek(0)
|
|
|
msgList.demoVideo.pause()
|