We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@didilinkin privateRoutes.js中,exact为true,应该只能对访问路径为/拦截,验证是否登录,如下: const privateRoutes = [{ path: '/', exact: true, component: PrivateRoute // 无其他信息; 不需要渲染组件 }] 那么,访问其他的路径,是不会验证登录的,是不是有问题?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@didilinkin
privateRoutes.js中,exact为true,应该只能对访问路径为/拦截,验证是否登录,如下:
const privateRoutes = [{
path: '/',
exact: true,
component: PrivateRoute // 无其他信息; 不需要渲染组件
}]
那么,访问其他的路径,是不会验证登录的,是不是有问题?
The text was updated successfully, but these errors were encountered: