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