export function WechatQrDisplay({ qrDataUrl, wxLoginContainerId, wxLoginReady, loading, expired, onRefresh, tip, }: { qrDataUrl?: string | null; wxLoginContainerId?: string; wxLoginReady?: boolean; loading: boolean; expired: boolean; onRefresh: () => void; tip?: string; }) { const useWxLogin = Boolean(wxLoginContainerId); return (
{expired ? ( ) : ( tip ?? '请使用微信扫一扫' )}