🔖 chore: restore console button

This commit is contained in:
MartialBE 2024-04-05 04:12:52 +08:00
parent c1fc32add7
commit 1655200376
No known key found for this signature in database
GPG Key ID: F5A7AC860020C896

View File

@ -79,7 +79,12 @@ const Header = () => {
</Button>
<ThemeButton />
{account.user ? (
<ProfileSection />
<>
<Button component={Link} variant="contained" to="/panel" color="primary">
控制台
</Button>
<ProfileSection />
</>
) : (
<Button component={Link} variant="contained" to="/login" color="primary">
登录