mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-19 01:36:38 +08:00
fix: fix bug for regenerate button did not work
This commit is contained in:
parent
b0162e6a92
commit
4b09878bdd
@ -824,7 +824,7 @@ const reGenerate = function () {
|
||||
icon: loginUser.value.avatar,
|
||||
content: md.render(text)
|
||||
});
|
||||
socket.value.send(previousText.value);
|
||||
socket.value.send(JSON.stringify({type: "chat", content: previousText.value}));
|
||||
}
|
||||
|
||||
const chatName = ref('')
|
||||
|
@ -418,7 +418,7 @@ const reGenerate = () => {
|
||||
icon: loginUser.value.avatar,
|
||||
content: renderInputText(text)
|
||||
});
|
||||
socket.value.send(previousText.value);
|
||||
socket.value.send(JSON.stringify({type: "chat", content: previousText.value}));
|
||||
}
|
||||
|
||||
const showShare = ref(false)
|
||||
|
Loading…
Reference in New Issue
Block a user