Browse Source

Merge branch 'milestone-20250924-接入大财神工作流' of http://39.101.133.168:8807/hongxilin/AIxiaocaishen into milestone-20250924-接入大财神工作流

milestone-20250924-接入大财神工作流
宋杰 7 days ago
parent
commit
bd9e43bc1f
  1. 1
      src/store/chat.js
  2. 1
      src/store/deepNine.js
  3. 6
      src/views/AIchat.vue
  4. 6
      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() {

6
src/views/AIchat.vue

@ -949,7 +949,9 @@ const processTypingQueue = async () => {
while (typingQueue.value.length > 0) {
const task = typingQueue.value.shift();
await createTypingEffect(task.message, task.content, task.speed);
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;

6
src/views/deepNine.vue

@ -876,7 +876,9 @@ const processTypingQueue = async () => {
while (typingQueue.value.length > 0) {
const task = typingQueue.value.shift();
await createTypingEffect(task.message, task.content, task.speed);
if (chatStore.allowTyping) {
await createTypingEffect(task.message, task.content, task.speed);
}
}
isTypingInProgress.value = false;
@ -1071,6 +1073,7 @@ watch(
// ,
try {
chatStore.allowTyping = true;
//
const result = await deepNineFirstAPI(params1);
codeData.value = result.data;
@ -1962,6 +1965,7 @@ watch(
// 3.
typingQueue.value = [];
isTypingInProgress.value = false;
chatStore.allowTyping = false;
// 4.
homepageChatStore.isLoading = false;

Loading…
Cancel
Save