Improve UI.

This commit is contained in:
Gucheng Wang
2021-11-28 20:18:03 +08:00
parent c10ccd8106
commit 36b7993994
3 changed files with 12 additions and 21 deletions

View File

@ -13,7 +13,7 @@
// limitations under the License.
import React from "react";
import {Button, Col, Divider, Form, Select, Input, Row, Steps} from "antd";
import {Button, Col, Form, Select, Input, Row, Steps} from "antd";
import * as AuthBackend from "./AuthBackend";
import * as ApplicationBackend from "../backend/ApplicationBackend";
import * as Util from "./Util";
@ -174,13 +174,13 @@ class ForgetPage extends React.Component {
if (this.state.phone !== "") {
options.push(
<Option key={"phone"} value={"phone"}>
{Setting.getMaskedPhone(this.state.phone)}
&nbsp;&nbsp;{Setting.getMaskedPhone(this.state.phone)}
</Option>
);
} else if (this.state.email !== "") {
options.push(
<Option key={"email"} value={"email"}>
{Setting.getMaskedEmail(this.state.email)}
&nbsp;&nbsp;{Setting.getMaskedEmail(this.state.email)}
</Option>
);
}