diff --git a/src/forge/users/common_lists.js b/src/forge/users/common_lists.js index 9c99f1a6..afee3331 100644 --- a/src/forge/users/common_lists.js +++ b/src/forge/users/common_lists.js @@ -66,7 +66,8 @@ class CommonList extends Component { render() { const { users, isSpin, total, search, limit, page } = this.state; - const { userType } = this.props; + const { userType, login, current_user } = this.props; + const title_type =( current_user && login === current_user.login) ? "我" : "TA" const pagination = total && total > limit ? ( @@ -87,7 +88,7 @@ class CommonList extends Component {
-

{userType === "watch_users" ? "我关注的" : "关注我的"}

+

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