diff --git a/src/views/App.vue b/src/views/App.vue index 356555168a694833236caf67a168b11e29841ca2..fbe2f4262f4d9faa9b858777da328ee880e8753a 100644 --- a/src/views/App.vue +++ b/src/views/App.vue @@ -125,6 +125,14 @@ export default { console.log("error", err); } }); + + axios({ + method: "post", + url: "https://flask-wujiaping.inscode.cc/addhistory", + data: this.dialogs, + }).then((res) => { + console.log(res.data) + }); }, handleNewChat() { this.dialogs = [];