diff --git a/src/forge/Team/Group/Setting/GroupMemberSetting.jsx b/src/forge/Team/Group/Setting/GroupMemberSetting.jsx index cfa2c5e8..c23ca14e 100644 --- a/src/forge/Team/Group/Setting/GroupMemberSetting.jsx +++ b/src/forge/Team/Group/Setting/GroupMemberSetting.jsx @@ -16,7 +16,7 @@ const Img = styled.img`{ height:30px; border-radius:50%; }` -const limit = 15 +const limit = 15; export default ((props) => { const [page, setPage] = useState(1); const [total, setTotal] = useState(0); @@ -58,9 +58,9 @@ export default ((props) => { axios.delete(url) .then((result) => { if (result && result.data) { - setPage(1) - setQuery(undefined) - setIdentify(undefined) + setPage(1); + setQuery(undefined); + setIdentify(undefined); getMember(); } }) diff --git a/src/forge/UsersList/common_users.js b/src/forge/UsersList/common_users.js index 407411b7..78655108 100644 --- a/src/forge/UsersList/common_users.js +++ b/src/forge/UsersList/common_users.js @@ -93,7 +93,7 @@ class CommonUsers extends Component { {count === 0 ? ( ) : ( - + )} diff --git a/src/forge/UsersList/user_list.js b/src/forge/UsersList/user_list.js index c6a67313..4c1aeda5 100644 --- a/src/forge/UsersList/user_list.js +++ b/src/forge/UsersList/user_list.js @@ -5,7 +5,7 @@ import { Button } from "antd"; import "./list.css"; class UserList extends Component { - renderList = (users, userClass, current_user, type_title) => { + renderList = (users, userClass, current_user, type_title , successFunc) => { if (users && users.length > 0) { return users.map((item, key) => { return ( @@ -40,7 +40,7 @@ class UserList extends Component { current_user && current_user.login === item.login ? : - + } @@ -50,9 +50,9 @@ class UserList extends Component { } } render() { - const { users, userClass, current_user , type_title } = this.props; + const { users, userClass, current_user , type_title , successFunc } = this.props; return ( - this.renderList(users, userClass, current_user, type_title) + this.renderList(users, userClass, current_user, type_title , successFunc) ); } } diff --git a/src/forge/users/common_lists.js b/src/forge/users/common_lists.js index 39e0b00d..5e238333 100644 --- a/src/forge/users/common_lists.js +++ b/src/forge/users/common_lists.js @@ -87,7 +87,7 @@ class CommonList extends Component {
-

{userType === "watchers" ? `${title_type}关注的` : `关注${title_type}的`}

+

{userType === "watchers" ? `${title_type}关注的` : `关注${title_type}的`}

0 ? (
- +
) : ( diff --git a/src/forge/users/watch_users.js b/src/forge/users/watch_users.js index 02c38058..965cec6d 100644 --- a/src/forge/users/watch_users.js +++ b/src/forge/users/watch_users.js @@ -5,8 +5,8 @@ class WatcherUsers extends Component { const {user, current_user} = this.props return (
- {user && user.login && } -
+ {user && user.login && } +
); } }