feat: 禁止默认密码

This commit is contained in:
手瓜一十雪
2025-09-06 11:41:06 +08:00
parent e4c1807f76
commit e406dca7ae
4 changed files with 94 additions and 20 deletions

View File

@@ -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')