Fix(AI):[#3609]点击热门词条时,需要卡1秒才能进入问答页面,改为点击后马上进入问答页面

This commit is contained in:
lifizer
2025-04-08 10:18:58 +08:00
parent 67c94d814c
commit e446b9e847
+1 -1
View File
@@ -156,7 +156,6 @@ export const chatMixins = {
handleLoginFailure() handleLoginFailure()
return return
} }
_this.initWebSocket(() => {
const prompt = params.prompt const prompt = params.prompt
if (params.init !== 1) { if (params.init !== 1) {
_this.chatMessageList.push({ _this.chatMessageList.push({
@@ -178,6 +177,7 @@ export const chatMixins = {
type: -2 type: -2
}) })
_this.loading = true _this.loading = true
_this.initWebSocket(() => {
_this.showCursor = false _this.showCursor = false
getSseConfigV1({ getSseConfigV1({
'chatNumber': _this.chatNumber, 'chatNumber': _this.chatNumber,