diff --git a/UserRegister/src/index.tsx b/UserRegister/src/index.tsx index d4c30f2bc38dba7c2bdc958431263d1895340acc..61e54086ae6b486e4ba182167c1a6a739f652405 100644 --- a/UserRegister/src/index.tsx +++ b/UserRegister/src/index.tsx @@ -92,7 +92,6 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component< componentDidUpdate() { const { form, BLOCK_NAME_CAMEL_CASE } = this.props; - const account = form.getFieldValue('mail'); if (BLOCK_NAME_CAMEL_CASE.status === 'ok') { message.success('注册成功!'); } @@ -235,7 +234,9 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component< (node && node.parentNode ? node.parentNode : node)} + getPopupContainer={node => + node && node.parentNode ? (node.parentNode as HTMLElement) : node + } content={
{passwordStatusMap[this.getPasswordStatus()]}