diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 698458b4c..56796d2bd 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -598,7 +598,7 @@ export function Chat(props: { context.push(copiedHello); } const handleClick = () =>{ - accessStore.updateToken(dialogValue); + accessStore.updateCode(dialogValue); setDialog(false) // const copiedHello = Object.assign({}, BOT_HELLO); // context.push(copiedHello); @@ -847,7 +847,7 @@ export function Chat(props: {
认证过期,请重新输入ACCESS-CODE
{ - accessStore.updateToken(e.currentTarget.value); + accessStore.updateCode(e.currentTarget.value); setDialogValue(e.currentTarget.value); }} />