File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,9 @@ export const chatApi = {
301301 get : ( id : number ) : Promise < ChatInfo > => {
302302 return request . get ( `/chat/get/${ id } ` )
303303 } ,
304+ get_with_Data : ( id : number ) : Promise < ChatInfo > => {
305+ return request . get ( `/chat/get/with_data/${ id } ` )
306+ } ,
304307 get_chart_data : ( record_id ?: number ) : Promise < any > => {
305308 return request . get ( `/chat/record/get/${ record_id } /data` )
306309 } ,
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ function onClickHistory(chat: Chat) {
169169 currentChatId .value = chat .id
170170 loading .value = true
171171 chatApi
172- .get (chat .id )
172+ .get_with_Data (chat .id )
173173 .then ((res ) => {
174174 const info = chatApi .toChatInfo (res )
175175 if (info ) {
You can’t perform that action at this time.
0 commit comments