|
|
@@ -375,16 +375,16 @@ export const SideBar = (props: { className?: string }) => {
|
|
|
logo={getType() === 'bigModel' ? <img style={{ height: 40 }} src={faviconSrc.src} /> : ''}
|
|
|
>
|
|
|
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 10 }}>
|
|
|
+ {/*<Button*/}
|
|
|
+ {/* style={{ width: '48%' }}*/}
|
|
|
+ {/* onClick={() => {*/}
|
|
|
+ {/* navigate({ pathname: '/' });*/}
|
|
|
+ {/* }}*/}
|
|
|
+ {/*>*/}
|
|
|
+ {/* 回到首页*/}
|
|
|
+ {/*</Button>*/}
|
|
|
<Button
|
|
|
- style={{ width: '48%' }}
|
|
|
- onClick={() => {
|
|
|
- navigate({ pathname: '/' });
|
|
|
- }}
|
|
|
- >
|
|
|
- 回到首页
|
|
|
- </Button>
|
|
|
- <Button
|
|
|
- style={{ width: '48%' }}
|
|
|
+ style={{ width: '100%' }}
|
|
|
type="primary"
|
|
|
onClick={async () => {
|
|
|
chatStore.clearSessions();
|