This commit is contained in:
2022-03-31 12:25:54 +08:00
parent 7e4c106683
commit a67715a2a0
7 changed files with 38 additions and 37 deletions

View File

@@ -46,7 +46,7 @@ export default function Index(props) {
<Container>
<Stack direction="row" spacing={2}>
<TextField
label="Username"
label="您的大名?"
value={username}
onChange={(e) => setUsername(e.target.value)}
onKeyUp={(e) => {
@@ -64,7 +64,7 @@ export default function Index(props) {
login();
}}
>
Login
登入
</Button>
</Link>
</Stack>
@@ -74,7 +74,7 @@ export default function Index(props) {
onClose={() => setSnackbarOpen(false)}
>
<Alert variant="filled" severity="error">
Username can{"'"}t be empty
请输入您的大名
</Alert>
</Snackbar>
</Container>