前端禁用发送短信验证码
This commit is contained in:
@@ -56,7 +56,7 @@ export default function PhoneLoginMode({ onSendCode }: { onSendCode: (data: Send
|
|||||||
<InputOTPSlot index={5} />
|
<InputOTPSlot index={5} />
|
||||||
</InputOTPGroup>
|
</InputOTPGroup>
|
||||||
</InputOTP>
|
</InputOTP>
|
||||||
<Button type="button" variant="secondary" onClick={handleSendCode}>获取验证码</Button>
|
<Button type="button" variant="secondary" onClick={handleSendCode} disabled>获取验证码</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Button type="submit" className="w-full" disabled>
|
<Button type="submit" className="w-full" disabled>
|
||||||
|
|||||||
Reference in New Issue
Block a user