{currentStep === 0 && (
使用认证器应用(如 Google Authenticator、Microsoft Authenticator)扫描下方二维码:
或手动输入密钥:{setupData.secret}
)}
{currentStep === 1 && (
{/* 备用码展示 */}
{
const codesText = setupData.backup_codes.join('\n');
copyTextToClipboard(codesText, '备用码已复制到剪贴板');
}}
/>
)}
{currentStep === 2 && (
)}