feat: 微信登陆逻辑调整
This commit is contained in:
@@ -265,7 +265,12 @@ export default function WechatRegister() {
|
||||
justifyContent="center"
|
||||
>
|
||||
{/* 灰色二维码底图 - 始终显示 */}
|
||||
<Icon as={FaQrcode} w={24} h={24} color="gray.300" />
|
||||
{/* 根据 wechatStatus 渲染不同的内容 */}
|
||||
{wechatStatus === WECHAT_STATUS.WAITING ? (
|
||||
<Image src={wechatAuthUrl} alt="微信二维码" boxSize="24" />
|
||||
) : (
|
||||
<Icon as={FaQrcode} w={24} h={24} color="gray.300" />
|
||||
)}
|
||||
|
||||
{/* 加载动画 */}
|
||||
{isLoading && (
|
||||
|
||||
Reference in New Issue
Block a user