mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-24 15:30:44 +08:00
fix: 添加项目disabled bug
This commit is contained in:
parent
d24dac603e
commit
97ee9ed0ec
@ -109,7 +109,7 @@ class ProjectList extends Component {
|
|||||||
<Col>
|
<Col>
|
||||||
|
|
||||||
<Tooltip title="您没有权限,请联系该分组组长或管理员">
|
<Tooltip title="您没有权限,请联系该分组组长或管理员">
|
||||||
{this.props.currGroup.role ?
|
{this.props.currGroup.role!== 'member' ?
|
||||||
<Button type="primary" ><Link to="/add-project">添加项目</Link></Button> :
|
<Button type="primary" ><Link to="/add-project">添加项目</Link></Button> :
|
||||||
<Button type="primary" disabled >添加项目</Button>}
|
<Button type="primary" disabled >添加项目</Button>}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user