|
@ -712,8 +712,8 @@ const createTypingEffect = (message, content, speed) => { |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
if (message.error == "2") { |
|
|
if (message.error == "2") { |
|
|
apiStatus.two.isError = true; |
|
|
apiStatus.two.isError = true; |
|
@ -723,9 +723,9 @@ const createTypingEffect = (message, content, speed) => { |
|
|
} |
|
|
} |
|
|
if (message.end) { |
|
|
if (message.end) { |
|
|
homepageChatStore.getUserCount(); |
|
|
homepageChatStore.getUserCount(); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
console.log("打印完毕,接触输入框禁用状态"); |
|
|
console.log("打印完毕,接触输入框禁用状态"); |
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
} |
|
|
} |
|
|
message.isTyping = false; |
|
|
message.isTyping = false; |
|
@ -810,8 +810,8 @@ const createTypingEffect = (message, content, speed) => { |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
if (message.error == "2") { |
|
|
if (message.error == "2") { |
|
|
apiStatus.two.isError = true; |
|
|
apiStatus.two.isError = true; |
|
@ -840,8 +840,8 @@ const createTypingEffect = (message, content, speed) => { |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
if (message.error == "2") { |
|
|
if (message.error == "2") { |
|
|
apiStatus.two.isError = true; |
|
|
apiStatus.two.isError = true; |
|
@ -1134,8 +1134,8 @@ watch( |
|
|
|
|
|
|
|
|
chatStore.messages.push(aiMsg); |
|
|
chatStore.messages.push(aiMsg); |
|
|
|
|
|
|
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
chatStore.firstAPICall = false; |
|
|
chatStore.firstAPICall = false; |
|
|
|
|
|
|
|
|
console.log("历史记录可以点击"); |
|
|
console.log("历史记录可以点击"); |
|
@ -1157,8 +1157,8 @@ watch( |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
chatStore.firstAPICall = false; |
|
|
chatStore.firstAPICall = false; |
|
|
console.log("历史记录可以点击"); |
|
|
console.log("历史记录可以点击"); |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
@ -1497,8 +1497,8 @@ watch( |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1610,8 +1610,8 @@ watch( |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1696,8 +1696,8 @@ watch( |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
content: "系统正在为您努力加载中,请稍后再试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1868,8 +1868,8 @@ watch( |
|
|
flag: false, |
|
|
flag: false, |
|
|
content: "数据缺失,请稍后重试", |
|
|
content: "数据缺失,请稍后重试", |
|
|
}); |
|
|
}); |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
chatStore.firstAPICall = false; |
|
|
chatStore.firstAPICall = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
} |
|
|
} |
|
@ -1958,8 +1958,8 @@ watch( |
|
|
isTypingInProgress.value = false; |
|
|
isTypingInProgress.value = false; |
|
|
|
|
|
|
|
|
// 4. 重置加载状态 |
|
|
// 4. 重置加载状态 |
|
|
chatStore.isLoading = false; |
|
|
|
|
|
chatStore.chatInput = false; |
|
|
|
|
|
|
|
|
homepageChatStore.isLoading = false; |
|
|
|
|
|
homepageChatStore.deepNineInput = false; |
|
|
emit("enableInput"); |
|
|
emit("enableInput"); |
|
|
|
|
|
|
|
|
// 在下一个事件循环中清空 dbqbClickRecord |
|
|
// 在下一个事件循环中清空 dbqbClickRecord |
|
|