|
@ -11,7 +11,7 @@ import {TenantId} from "@/config/app"; |
|
|
import {useUser} from "@/hooks/useUser"; |
|
|
import {useUser} from "@/hooks/useUser"; |
|
|
import {useUserData} from "@/hooks/useUserData"; |
|
|
import {useUserData} from "@/hooks/useUserData"; |
|
|
import {getStoredInviteParams} from "@/utils/invite"; |
|
|
import {getStoredInviteParams} from "@/utils/invite"; |
|
|
// import QRLoginButton from "@/components/QRLoginButton";
|
|
|
|
|
|
|
|
|
import QRLoginButton from "@/components/QRLoginButton"; |
|
|
|
|
|
|
|
|
const UserCard = forwardRef<any, any>((_, ref) => { |
|
|
const UserCard = forwardRef<any, any>((_, ref) => { |
|
|
const { |
|
|
const { |
|
@ -213,16 +213,15 @@ const UserCard = forwardRef<any, any>((_, ref) => { |
|
|
marginTop: '30px', |
|
|
marginTop: '30px', |
|
|
marginRight: '10px' |
|
|
marginRight: '10px' |
|
|
}}> |
|
|
}}> |
|
|
{/*{userInfo?.userId === 33738 &&*/} |
|
|
|
|
|
{/* <QRLoginButton/>*/} |
|
|
|
|
|
{/*}*/} |
|
|
|
|
|
|
|
|
{/*扫码登录*/} |
|
|
|
|
|
<QRLoginButton/> |
|
|
{!isAdmin() && |
|
|
{!isAdmin() && |
|
|
<Button |
|
|
<Button |
|
|
size={'small'} |
|
|
size={'small'} |
|
|
onClick={() => navTo('/user/store/verification', true)} |
|
|
onClick={() => navTo('/user/store/verification', true)} |
|
|
> |
|
|
> |
|
|
<View className="flex items-center justify-center"> |
|
|
<View className="flex items-center justify-center"> |
|
|
<Scan className="mr-1" /> |
|
|
|
|
|
|
|
|
<Scan className="mr-1"/> |
|
|
扫码核销 |
|
|
扫码核销 |
|
|
</View> |
|
|
</View> |
|
|
</Button> |
|
|
</Button> |
|
|