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