feat: 禁止默认密码

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

No files matched your search

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