Commit a404dc59 authored by 前端-许佳敏's avatar 前端-许佳敏

fix

parent 94e95ce1
......@@ -97,6 +97,8 @@ export function onRouteChange({ routes, matchedRoutes, location, action }) {
const routeAuthUrls = getRouters()
// 是否登录
if (getAuth()) {
console.log(location)
console.log(matchedRoutes)
if (routeAuthUrls.includes(location.pathname)) {
} else {
......
......@@ -64,7 +64,7 @@ let timeChange: any; // 定时器
const actions = createFormActions()
const UserRegistry = () => {
const [current, setCurrent] = useState(1)
const [current, setCurrent] = useState(0)
const [subStep, setSubStep] = useState(false)
const stepList = [
{ title: '填写信息', key: 'message', name: 'message' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment