{styleState.isMobile && onCloseDebugPanel && (
}
onClick={onCloseDebugPanel}
theme="borderless"
type="tertiary"
size="small"
className="!rounded-lg"
/>
)}
{debugData.previewRequest ? (
{JSON.stringify(debugData.previewRequest, null, 2)}
) : (
{t('正在构造请求体预览...')}
)}
{(debugData.timestamp || debugData.previewTimestamp) && (
{activeKey === 'preview' && debugData.previewTimestamp
? `${t('预览更新')}: ${new Date(debugData.previewTimestamp).toLocaleString()}`
: debugData.timestamp
? `${t('最后请求')}: ${new Date(debugData.timestamp).toLocaleString()}`
: ''}
)}