mirror of
				https://github.com/yangjian102621/geekai.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	fix: fix bug for regenerate button did not work
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user