Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev

This commit is contained in:
zwjamnsss 2017-09-29 17:57:17 +08:00
commit 356822adaf
2 changed files with 3 additions and 3 deletions

View File

@ -268,13 +268,13 @@ export default class GroupList extends Component {
this.props.curUserRole === 'admin' ? (addmark) : '' this.props.curUserRole === 'admin' ? (addmark) : ''
} }
</Menu>; </Menu>;
menu = currGroup.role === 'owner' ? <a className="editSet"><Icon type="setting" onClick={() => this.showModal(TYPE_EDIT)} /></a> : <Dropdown overlay={menu}> menu = (currGroup.role === 'owner' && this.props.curUserRole !== 'admin') ? <a className="editSet"><Icon type="setting" onClick={() => this.showModal(TYPE_EDIT)} /></a> : <Dropdown overlay={menu}>
<a className="ant-dropdown-link" href="#"> <a className="ant-dropdown-link" href="#">
<Icon type="setting" /> <Icon type="setting" />
</a> </a>
</Dropdown>; </Dropdown>;
if(this.props.currGroup.type!=='private' && currGroup.role === 'owner'){ if(this.props.currGroup.type==='private' && currGroup.role === 'owner' && this.props.curUserRole !== 'admin'){
menu = null; menu = null;
} }

View File

@ -1 +1 @@
module.exports = {} module.exports = {qsso : require('plugins/yapi-plugin-qsso/client.js')}