修复:已知问题

This commit is contained in:
2025-07-07 13:21:46 +08:00
parent 78bc420fb8
commit 8b0a0df98d
6 changed files with 45 additions and 47 deletions

View File

@@ -57,24 +57,28 @@ const UserCell = () => {
/>
</Cell.Group>
{
(roleName === 'kuaidi' || roleName == 'zhandian') && (
(roleName === 'kuaidi' || roleName == 'zhandian' || roleName == 'youzheng') && (
<>
<Cell.Group divider={true}>
<Cell
className="nutui-cell-clickable"
title={
<div style={{display: 'inline-flex', alignItems: 'center'}}>
<ShieldCheck size={16}/>
<span className={'pl-3 text-sm'}></span>
</div>
}
align="center"
extra={<ArrowRight color="#cccccc" size={18}/>}
onClick={() => {
navTo('/user/userVerify/admin', true)
}}
/>
</Cell.Group>
{
roleName != 'youzheng' && (
<Cell.Group divider={true}>
<Cell
className="nutui-cell-clickable"
title={
<div style={{display: 'inline-flex', alignItems: 'center'}}>
<ShieldCheck size={16}/>
<span className={'pl-3 text-sm'}></span>
</div>
}
align="center"
extra={<ArrowRight color="#cccccc" size={18}/>}
onClick={() => {
navTo('/user/userVerify/admin', true)
}}
/>
</Cell.Group>
)
}
<Cell.Group divider={true}>
<Cell
className="nutui-cell-clickable"