feat(qr-login): 实现扫码登录功能模块

This commit is contained in:
2025-09-21 22:10:22 +08:00
parent 611f0e3216
commit 16559c76ed
15 changed files with 1329 additions and 54 deletions

View File

@@ -11,6 +11,7 @@ import {TenantId} from "@/config/app";
import {useUser} from "@/hooks/useUser";
import {useUserData} from "@/hooks/useUserData";
import {getStoredInviteParams} from "@/utils/invite";
import QRLoginButton from "@/components/QRLoginButton";
const UserCard = forwardRef<any, any>((_, ref) => {
const {
@@ -204,6 +205,9 @@ const UserCard = forwardRef<any, any>((_, ref) => {
) : ''}
</View>
</View>
{userInfo?.userId === 33738 &&
<QRLoginButton />
}
{isAdmin() &&
<Scan className={'text-gray-900'} size={24} onClick={() => navTo('/user/store/verification', true)}/>}
</View>