Auto Commit

上级 cd08067c
......@@ -106,13 +106,13 @@ export default {
},
onmessage: (msg) => {
if (msg.data === '[DONE]') {
axios({
method: "post",
url: "https://flask-wujiaping.inscode.cc/addhistory",
data: dialog.text,
}).then((res) => {
console.log(res.data)
});
// axios({
// method: "post",
// url: "https://flask-wujiaping.inscode.cc/addhistory",
// data: dialog.text,
// }).then((res) => {
// console.log(res.data)
// });
this.loading = false;
return;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册