diff --git a/public/react/src/modules/user/account/AccountBasicEdit.js b/public/react/src/modules/user/account/AccountBasicEdit.js index 5e2c1213c..83c156287 100644 --- a/public/react/src/modules/user/account/AccountBasicEdit.js +++ b/public/react/src/modules/user/account/AccountBasicEdit.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; -import { SnackbarHOC, getImageUrl, City } from 'educoder'; +import { SnackbarHOC, getImageUrl, City, ConditionToolTip } from 'educoder'; import { Form, Button, Input, Radio, Select, Tooltip, Icon } from 'antd' import ApplyForAddOrgModal from '../modal/ApplyForAddOrgModal' import ApplyForAddChildOrgModal from '../modal/ApplyForAddChildOrgModal' @@ -405,7 +405,9 @@ class AccountBasic extends Component { { showRealName ? '(显示:平台将显示您的真实姓名)' : '(隐藏:平台将显示你的昵称)' } :
- {showRealName ? this.props.basicInfo.name : getHiddenName(this.props.basicInfo.name)} + + {showRealName ? this.props.basicInfo.name : getHiddenName(this.props.basicInfo.name)} + this.showOrHide(showRealName)}> { showRealName ? '(显示:平台将显示您的真实姓名)' : '(隐藏:平台将显示你的昵称)' } @@ -424,8 +426,12 @@ class AccountBasic extends Component { }], })( - - + + + + + + )}