diff --git a/src/api/ai/chat/conversation/index.ts b/src/api/ai/chat/conversation/index.ts index e0ee8501..8ff4990f 100644 --- a/src/api/ai/chat/conversation/index.ts +++ b/src/api/ai/chat/conversation/index.ts @@ -21,7 +21,7 @@ export interface ChatConversationVO { // AI 聊天会话 API export const ChatConversationApi = { // 获得【我的】聊天会话 - getChatConversationMy: async (id: string) => { + getChatConversationMy: async (id: number) => { return await request.get({ url: `/ai/chat/conversation/get-my?id=${id}` }) }, // 更新【我的】聊天会话 diff --git a/src/views/ai/chat/components/ChatConversationUpdateForm.vue b/src/views/ai/chat/components/ChatConversationUpdateForm.vue index 0a754dd8..fe08ffb2 100644 --- a/src/views/ai/chat/components/ChatConversationUpdateForm.vue +++ b/src/views/ai/chat/components/ChatConversationUpdateForm.vue @@ -4,23 +4,46 @@ ref="formRef" :model="formData" :rules="formRules" - label-width="100px" + label-width="130px" v-loading="formLoading" > - - + + - + + + - - + + - - + + - - + +