fix: noHovering

This commit is contained in:
gaoxiaolin.gao 2018-04-08 15:20:29 +08:00
parent f5d5386e74
commit fe070c6710
3 changed files with 3 additions and 3 deletions

View File

@ -285,7 +285,7 @@ class GroupSetting extends Component {
</Button>
</Col>
{this.state.showDangerOptions ? (
<Card noHovering={true} className="card-danger" style={{ width: '100%' }}>
<Card hoverable={true} className="card-danger" style={{ width: '100%' }}>
<div className="card-danger-content">
<h3>删除分组</h3>
<p>分组一旦删除将无法恢复数据请慎重操作</p>

View File

@ -308,7 +308,7 @@ class ProjectMember extends Component {
</Modal>
<Table columns={columns} dataSource={this.state.projectMemberList} pagination={false} locale={{ emptyText: <ErrMsg type="noMemberInProject" /> }} className="setting-project-member" />
<Card bordered={false} title={this.state.groupName + ' 分组成员 ' + '(' + this.state.groupMemberList.length + ') 人'} noHovering className="setting-group">
<Card bordered={false} title={this.state.groupName + ' 分组成员 ' + '(' + this.state.groupMemberList.length + ') 人'} hoverable={true} className="setting-group">
{this.state.groupMemberList.length ? this.state.groupMemberList.map((item, index) => {
return (<div key={index} className="card-item">
<img src={location.protocol + '//' + location.host + '/api/user/avatar?uid=' + item.uid} className="item-img" />

View File

@ -334,7 +334,7 @@ class ProjectMessage extends Component {
<h2 className="content"><Icon type="exclamation-circle-o" /> 危险操作</h2>
<Button onClick={this.toggleDangerOptions}> <Icon type={this.state.showDangerOptions ? 'up' : 'down'} /></Button>
</div>
{this.state.showDangerOptions ? <Card noHovering={true} className="card-danger">
{this.state.showDangerOptions ? <Card hoverable={true} className="card-danger">
<div className="card-danger-content">
<h3>删除项目</h3>
<p>项目一旦删除将无法恢复数据请慎重操作</p>