完成:黄家明项目的开发并存档
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {Button} from '@nutui/nutui-react-taro'
|
||||
import {Avatar, Tag} from '@nutui/nutui-react-taro'
|
||||
import {Avatar, Tag, Space} from '@nutui/nutui-react-taro'
|
||||
import {getUserInfo, getWxOpenId} from '@/api/layout';
|
||||
import Taro from '@tarojs/taro';
|
||||
import {useEffect, useState} from "react";
|
||||
@@ -163,11 +163,18 @@ function UserCard() {
|
||||
<div className={'user-info flex flex-col px-2'}>
|
||||
<div className={'py-1 text-black font-bold'}>{IsLogin ? userInfo?.mobile : '请点击头像登录'}</div>
|
||||
{IsLogin ? (
|
||||
<div className={'grade text-xs py-1'}>
|
||||
<Space className={'grade text-xs py-1'}>
|
||||
<Tag type="success" round>
|
||||
<div className={'p-1'}>{roleName || '注册用户'}</div>
|
||||
</Tag>
|
||||
</div>
|
||||
{/*{*/}
|
||||
{/* userInfo?.organizationName && (*/}
|
||||
{/* <Tag type="warning" round>*/}
|
||||
{/* <div className={'p-1'}>{userInfo?.organizationName}</div>*/}
|
||||
{/* </Tag>*/}
|
||||
{/* )*/}
|
||||
{/*}*/}
|
||||
</Space>
|
||||
) : ''}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user