3.10 工程代码同步master

This commit is contained in:
jl-zhoujl2
2022-03-10 14:24:13 +08:00
parent 41ab55a4ac
commit 62f6b07ee2
914 changed files with 143121 additions and 29110 deletions

View File

@ -0,0 +1,30 @@
import React, { useEffect } from 'react';
import { Button, message, Spin } from 'antd';
import request from '@/utils/request';
import { JumpToOutside } from '@/utils/CommonUtils';
const Loading: React.FC<{}> = () => {
useEffect(() => {
// request('/auth/oauth/authorize', {
// method: 'get',
// params: {
// response_type: 'code',
// client_id: 'KgPEkttG',
// redirect_uri: 'http://10.242.31.158:18022/redirect?page=xunjia&pid=123&vid=456&qid=789',
// mall3_token: sessionStorage.getItem('Authorization'),
// },
// }).then(res => {
// })
}, []);
return (
<div style={{ textAlign: 'center', height: '100%', background: 'rgba(0,0,0,.05)', position: 'relative' }}>
<div style={{ position: 'absolute', left: '50%', top: '48%' }}>
<Spin tip="Loading..." />
<Button onClick={() => JumpToOutside("http://10.242.31.158:18022/redirect?page=xunjia%26pid=123%26vid=456%26qid=789")}></Button>
</div>
</div>
);
}
export default Loading;