Browse Source

点击历史记录后仍然打印的问题的解决

milestone-20250924-接入大财神工作流
no99 7 days ago
parent
commit
b6e620f9bc
  1. 1
      src/store/chat.js
  2. 1
      src/store/deepNine.js
  3. 4
      src/views/AIchat.vue
  4. 4
      src/views/deepNine.vue

1
src/store/chat.js

@ -23,6 +23,7 @@ export const useChatStore = defineStore("chat", {
firstAPICall:false,
dbqbScrollToTop:true,
allowTyping:false,
}),
actions: {
async getUserCount() {

1
src/store/deepNine.js

@ -23,6 +23,7 @@ export const useDeepNineStore = defineStore("deepNine", {
firstAPICall:false,
dbqbScrollToTop:true,
allowTyping:false,
}),
actions: {
async getUserCount() {

4
src/views/AIchat.vue

@ -949,8 +949,10 @@ const processTypingQueue = async () => {
while (typingQueue.value.length > 0) {
const task = typingQueue.value.shift();
if (chatStore.allowTyping) {
await createTypingEffect(task.message, task.content, task.speed);
}
}
isTypingInProgress.value = false;
};
@ -1144,6 +1146,7 @@ watch(
// ,
try {
chatStore.allowTyping = true;
//
const result = await dbqbFirstAPI(params1);
codeData.value = result.data;
@ -2576,6 +2579,7 @@ watch(
// 3.
typingQueue.value = [];
isTypingInProgress.value = false;
chatStore.allowTyping = false;
// 4.
chatStore.isLoading = false;

4
src/views/deepNine.vue

@ -870,8 +870,10 @@ const processTypingQueue = async () => {
while (typingQueue.value.length > 0) {
const task = typingQueue.value.shift();
if (chatStore.allowTyping) {
await createTypingEffect(task.message, task.content, task.speed);
}
}
isTypingInProgress.value = false;
};
@ -1065,6 +1067,7 @@ watch(
// ,
try {
chatStore.allowTyping = true;
//
const result = await deepNineFirstAPI(params1);
codeData.value = result.data;
@ -1956,6 +1959,7 @@ watch(
// 3.
typingQueue.value = [];
isTypingInProgress.value = false;
chatStore.allowTyping = false;
// 4.
homepageChatStore.isLoading = false;

Loading…
Cancel
Save