Parcourir la source

傻逼微信审核员

shaogen1995 il y a 2 jours
Parent
commit
8b1763f0c3
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      展示端/src/pages/Z1login/index.tsx

+ 2 - 3
展示端/src/pages/Z1login/index.tsx

@@ -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>