mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-18 06:03:42 +08:00
🔖 chore: restore console button
This commit is contained in:
@@ -79,7 +79,12 @@ const Header = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
<ThemeButton />
|
<ThemeButton />
|
||||||
{account.user ? (
|
{account.user ? (
|
||||||
<ProfileSection />
|
<>
|
||||||
|
<Button component={Link} variant="contained" to="/panel" color="primary">
|
||||||
|
控制台
|
||||||
|
</Button>
|
||||||
|
<ProfileSection />
|
||||||
|
</>
|
||||||
) : (
|
) : (
|
||||||
<Button component={Link} variant="contained" to="/login" color="primary">
|
<Button component={Link} variant="contained" to="/login" color="primary">
|
||||||
登录
|
登录
|
||||||
|
|||||||
Reference in New Issue
Block a user