chore:AI回答显示思考...
This commit is contained in:
@@ -1115,7 +1115,8 @@ async sendStreamMessage(userMessage, attachments = []) {
|
||||
} else {
|
||||
targetMsg = this.messages[loadingIdx]
|
||||
this._stopLoadingTextRotation(targetMsg)
|
||||
targetMsg.loadingText = this.$lang('ai-chat.index.receivingReply')
|
||||
// 固定文案, 不走 $lang: 远端语言覆写会覆盖本地 lang 文件, 导致改了 lang/zh-cn 也不生效
|
||||
targetMsg.loadingText = '思考中'
|
||||
// 进入流式接收状态: 让思考面板在收到 thought 事件时自动展开并显示"思考中..."
|
||||
this.$set(targetMsg, 'isStreaming', true)
|
||||
if (!targetMsg.thoughtsText) this.$set(targetMsg, 'thoughtsText', '')
|
||||
@@ -3169,7 +3170,8 @@ _handleStreamError(msg) {
|
||||
gap: 12rpx;
|
||||
|
||||
.typing-dots {
|
||||
display: flex;
|
||||
/* 隐藏三个圆点动画 */
|
||||
display: none !important;
|
||||
align-items: center;
|
||||
|
||||
.dot {
|
||||
|
||||
Reference in New Issue
Block a user