Merge remote-tracking branch 'origin/feature/0905_登录注册流程重构' into test

# Conflicts:
#	src/App.vue
#	src/layouts/components/siderBar/menu-list.ts
#	src/views/components/login/index.vue
This commit is contained in:
rd
2025-09-15 10:31:18 +08:00
44 changed files with 1574 additions and 788 deletions

View File

@ -5,7 +5,7 @@ import SenderInput from './components/sender-input/index.vue';
import RightView from './components/right-view/index.vue';
import { useChatStore } from '@/stores/modules/chat';
import { getConversationList } from '@/api/all/chat';
import { getConversationList, stopAgentTask } from '@/api/all/chat';
import querySSE from '@/utils/querySSE';
import useChatHandler from './useChatHandler';
import { QUESTION_ROLE, LOADING_ROLE } from './constants';
@ -58,6 +58,7 @@ export default {
if (generateLoading.value) {
bubbleListRef.value?.abortTypingByKey(generateTeamRunTaskId.value);
sseController.value?.abort?.();
stopAgentTask({ run_id: generateTeamRunTaskId.value });
}
if (showRightView.value) {
rightViewRef.value?.abortTyping?.();
@ -165,7 +166,7 @@ export default {
<SenderInput
v-model={searchValue.value}
ref={senderRef}
style={{ 'width': 'var(--max-content-width)' }}
style={{ width: 'var(--max-content-width)' }}
placeholder="继续追问..."
loading={generateLoading.value}
onSubmit={handleSubmit}