From 4c4f41cb9c639f8abd63df72f345bb24a847d9cf Mon Sep 17 00:00:00 2001 From: lishiyun1227 Date: Mon, 17 Apr 2023 13:34:55 +0800 Subject: [PATCH] add --- app/components/chat.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }} />