mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: 无分组的时候禁止点击创建项目按钮
This commit is contained in:
parent
4c9714d001
commit
25f774c7c1
@ -311,7 +311,9 @@ class ProjectList extends Component {
|
|||||||
</Form>
|
</Form>
|
||||||
</Modal>
|
</Modal>
|
||||||
<UpDateModal/>
|
<UpDateModal/>
|
||||||
<Button className="m-btn" icon="plus" type="primary" onClick={this.showAddProjectModal}>创建项目</Button>
|
<Button className="m-btn" icon="plus" type="primary"
|
||||||
|
onClick={this.showAddProjectModal}
|
||||||
|
disabled={this.props.currGroup._id ? false : true}>创建项目</Button>
|
||||||
<Table
|
<Table
|
||||||
className="m-table"
|
className="m-table"
|
||||||
bordered={true}
|
bordered={true}
|
||||||
|
Loading…
Reference in New Issue
Block a user