feat: 添加导航徽章
This commit is contained in:
@@ -190,6 +190,12 @@ export default function AuthFormContent() {
|
||||
credential: credential.substring(0, 3) + '****' + credential.substring(7),
|
||||
dev_code: data.dev_code
|
||||
});
|
||||
|
||||
// ✅ 开发环境下在控制台显示验证码
|
||||
if (data.dev_code) {
|
||||
console.log(`%c✅ [验证码] ${credential} -> ${data.dev_code}`, 'color: #16a34a; font-weight: bold; font-size: 14px;');
|
||||
}
|
||||
|
||||
setVerificationCodeSent(true);
|
||||
setCountdown(60);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user