mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-18 13:04:46 +08:00
fix: noHovering
This commit is contained in:
parent
f5d5386e74
commit
fe070c6710
@ -285,7 +285,7 @@ class GroupSetting extends Component {
|
|||||||
</Button>
|
</Button>
|
||||||
</Col>
|
</Col>
|
||||||
{this.state.showDangerOptions ? (
|
{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">
|
<div className="card-danger-content">
|
||||||
<h3>删除分组</h3>
|
<h3>删除分组</h3>
|
||||||
<p>分组一旦删除,将无法恢复数据,请慎重操作!</p>
|
<p>分组一旦删除,将无法恢复数据,请慎重操作!</p>
|
||||||
|
@ -308,7 +308,7 @@ class ProjectMember extends Component {
|
|||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
<Table columns={columns} dataSource={this.state.projectMemberList} pagination={false} locale={{ emptyText: <ErrMsg type="noMemberInProject" /> }} className="setting-project-member" />
|
<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) => {
|
{this.state.groupMemberList.length ? this.state.groupMemberList.map((item, index) => {
|
||||||
return (<div key={index} className="card-item">
|
return (<div key={index} className="card-item">
|
||||||
<img src={location.protocol + '//' + location.host + '/api/user/avatar?uid=' + item.uid} className="item-img" />
|
<img src={location.protocol + '//' + location.host + '/api/user/avatar?uid=' + item.uid} className="item-img" />
|
||||||
|
@ -334,7 +334,7 @@ class ProjectMessage extends Component {
|
|||||||
<h2 className="content"><Icon type="exclamation-circle-o" /> 危险操作</h2>
|
<h2 className="content"><Icon type="exclamation-circle-o" /> 危险操作</h2>
|
||||||
<Button onClick={this.toggleDangerOptions}>查 看<Icon type={this.state.showDangerOptions ? 'up' : 'down'} /></Button>
|
<Button onClick={this.toggleDangerOptions}>查 看<Icon type={this.state.showDangerOptions ? 'up' : 'down'} /></Button>
|
||||||
</div>
|
</div>
|
||||||
{this.state.showDangerOptions ? <Card noHovering={true} className="card-danger">
|
{this.state.showDangerOptions ? <Card hoverable={true} className="card-danger">
|
||||||
<div className="card-danger-content">
|
<div className="card-danger-content">
|
||||||
<h3>删除项目</h3>
|
<h3>删除项目</h3>
|
||||||
<p>项目一旦删除,将无法恢复数据,请慎重操作!</p>
|
<p>项目一旦删除,将无法恢复数据,请慎重操作!</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user