修改初始化判断条件

This commit is contained in:
hanhh
2021-10-03 22:01:44 +08:00
parent 14b20873c7
commit 6819487a43
3 changed files with 24 additions and 12 deletions
+10 -3
View File
@@ -5,18 +5,19 @@ import {
Input,
Form,
message,
notification,
Typography,
Steps,
Select,
} from 'antd';
import config from '@/utils/config';
import { history, Link } from 'umi';
import { history } from 'umi';
import styles from './index.less';
import { request } from '@/utils/http';
const FormItem = Form.Item;
const { Step } = Steps;
const { Option } = Select;
const { Link } = Typography;
const Login = () => {
const [loading, setLoading] = useState(false);
@@ -192,8 +193,14 @@ const Login = () => {
<div className={styles.top} style={{ marginTop: 120 }}>
<div className={styles.header}>
<span className={styles.title}></span>
<Link href="https://github.com/whyour/qinglong" target="_blank">
Github
</Link>
<Link href="https://t.me/jiao_long" target="_blank">
Telegram频道
</Link>
</div>
<div className={styles.action}>
<div style={{ marginTop: 16 }}>
<Button
type="primary"
onClick={() => {