feat: 禁止默认密码
This commit is contained in:
1 parent
e4c1807f76
commit
e406dca7ae
4 files changed
+94
-20
No files matched your search
@@ -25,7 +25,6 @@ export default function WebLoginPage() {
|
||||
const [tokenValue, setTokenValue] = useState<string>(token || '')
|
||||
const [isLoading, setIsLoading] = useState<boolean>(false)
|
||||
const [, setLocalToken] = useLocalStorage<string>(key.token, '')
|
||||
|
||||
const onSubmit = async () => {
|
||||
if (!tokenValue) {
|
||||
toast.error('请输入token')
|
||||
|
||||
Reference in new issue
Block a user