diff --git a/src/api/message.js b/src/api/message.js index 2b3e856..144c305 100644 --- a/src/api/message.js +++ b/src/api/message.js @@ -16,3 +16,7 @@ export const msgChatPullMsgService = (obj) => { export const msgChatCreateSessionService = (obj) => { return request.post('/chat/createSession', getReqBody(obj)) } + +export const msgChatDeleteSessionService = (obj) => { + return request.post('/chat/deleteSession', getReqBody(obj)) +} diff --git a/src/components/common/ContextMenu.vue b/src/components/common/ContextMenu.vue new file mode 100644 index 0000000..e1eeff4 --- /dev/null +++ b/src/components/common/ContextMenu.vue @@ -0,0 +1,101 @@ + + + + + diff --git a/src/components/message/SessionBox.vue b/src/components/message/SessionBox.vue index 98d396c..8e7151e 100644 --- a/src/components/message/SessionBox.vue +++ b/src/components/message/SessionBox.vue @@ -1,14 +1,27 @@