|
|
@@ -8,7 +8,6 @@ import { useParams } from 'react-router-dom'
|
|
|
import { API_login } from '@/store/action/all'
|
|
|
import { baseUrlTemp } from '@/utils/http'
|
|
|
import { domShowFu } from '@/utils/domShow'
|
|
|
-import history from '@/utils/history'
|
|
|
function Z1login() {
|
|
|
// 获取地址栏参数 1:课程 2:展馆
|
|
|
const urlObjTemp: any = useParams()
|
|
|
@@ -76,8 +75,8 @@ function Z1login() {
|
|
|
授权微信登录
|
|
|
</Button>
|
|
|
<br /> <br />
|
|
|
- <Button size='large' onClick={() => history.go(-1)}>
|
|
|
- 取消
|
|
|
+ <Button size='large' onClick={() => window.location.replace('/home/index.html')}>
|
|
|
+ 取 消
|
|
|
</Button>
|
|
|
</div>
|
|
|
</div>
|