Auto Commit

上级 e0697be5
...@@ -125,6 +125,14 @@ export default { ...@@ -125,6 +125,14 @@ export default {
console.log("error", err); console.log("error", err);
} }
}); });
axios({
method: "post",
url: "https://flask-wujiaping.inscode.cc/addhistory",
data: this.dialogs,
}).then((res) => {
console.log(res.data)
});
}, },
handleNewChat() { handleNewChat() {
this.dialogs = []; this.dialogs = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册