gaoluyang
5 天以前 c4b339705e5d2d1a33f4f3d6b5d7e19ac7d68faa
src/views/chatHome/chatHomeIndex/MobileChat.vue
@@ -14,7 +14,7 @@
                <span class="flash_cursor"></span>
              </template>
              <template v-else>
                <pre>{{ item.msg }}</pre>
                <pre style="font-family: none;">{{ item.msg }}</pre>
              </template>
            </div>
            <div class="chat-img" v-if="item.chatType == 1">
@@ -140,7 +140,7 @@
    }
    chatList.value.push(chatMsg)
    let chatGPT = {
      headImg: headPortrait,
      headImg: chatGPTHeadImg,
      name: '小智',
      time: new Date().toLocaleTimeString(),
      msg: "",
@@ -185,7 +185,7 @@
    uid: '1002'
  })
  chatList.value.push({
    headImg: chatGPTHeadImg,
    headImg: headPortrait,
    name: '卧龙',
    time: new Date().toLocaleTimeString(),
    msg: route.query.keyWord,
@@ -203,7 +203,7 @@
  }
  chatList.value.push(replyMsg)
  scrollBottom()
  loading.value = false
  // 如果有查询关键字,则模拟流式输出
  if (route.query.keyWord) {
    simulateStreamingOutput(replyMsg, route.query.keyWord)