guide node

This commit is contained in:
archer
2023-07-18 11:07:46 +08:00
parent d346d38677
commit f9d83c481f
25 changed files with 313 additions and 279 deletions

View File

@@ -161,7 +161,7 @@ const ChatHistorySlider = ({
{item.top ? '取消置顶' : '置顶'}
</MenuItem>
)}
{/* {onUpdateTitle && (
{onUpdateTitle && (
<MenuItem
onClick={(e) => {
e.stopPropagation();
@@ -174,7 +174,7 @@ const ChatHistorySlider = ({
<MyIcon mr={2} name={'customTitle'} w={'16px'}></MyIcon>
</MenuItem>
)} */}
)}
<MenuItem
_hover={{ color: 'red.500' }}
onClick={(e) => {

View File

@@ -301,9 +301,7 @@ const Chat = () => {
appAvatar={chatData.app.avatar}
variableModules={chatData.app.variableModules}
welcomeText={chatData.app.welcomeText}
onUpdateVariable={(e) => {
console.log(e);
}}
onUpdateVariable={(e) => {}}
onStartChat={startChat}
onDelMessage={delOneHistoryItem}
/>