Merge branch 'newVersion_forge' into dev_devOps
This commit is contained in:
commit
c052cf715b
|
|
@ -471,7 +471,7 @@ class order extends Component {
|
|||
})
|
||||
const { checkedValue } = this.state;
|
||||
const { projectsId , owner } = this.props.match.params;
|
||||
const url = `/projects/${owner}/${projectsId}/issues/clean.json`;
|
||||
const url = `/${owner}/${projectsId}/issues/clean.json`;
|
||||
axios.post(url, {
|
||||
ids: checkedValue
|
||||
}).then(result => {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { Button } from "antd";
|
|||
import "./list.css";
|
||||
class UserList extends Component {
|
||||
|
||||
renderList = (users, userClass, current_user) => {
|
||||
renderList = (users, userClass, current_user, type_title) => {
|
||||
if (users && users.length > 0) {
|
||||
return users.map((item, key) => {
|
||||
return (
|
||||
|
|
@ -34,7 +34,7 @@ class UserList extends Component {
|
|||
</div>
|
||||
<div className="font-12 text-gray grid-item pb5">
|
||||
<i className="iconfont icon-shijian user-join-time"></i>
|
||||
<span className="ml4">加入时间:{item.format_time}</span>
|
||||
<span className="ml4">{type_title === '点赞列表' ? "点赞" : type_title === "关注列表" ? "关注":'fork'}时间:{item.format_time}</span>
|
||||
</div>
|
||||
{
|
||||
current_user && current_user.login === item.login ?
|
||||
|
|
@ -50,10 +50,9 @@ class UserList extends Component {
|
|||
}
|
||||
}
|
||||
render() {
|
||||
const { users, userClass, current_user } = this.props;
|
||||
|
||||
const { users, userClass, current_user , type_title } = this.props;
|
||||
return (
|
||||
this.renderList(users, userClass, current_user)
|
||||
this.renderList(users, userClass, current_user, type_title)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue