diff --git a/web/client/src/layout/containers/layout/index.js b/web/client/src/layout/containers/layout/index.js index 2fdd86a..e30928f 100644 --- a/web/client/src/layout/containers/layout/index.js +++ b/web/client/src/layout/containers/layout/index.js @@ -48,10 +48,10 @@ function LayoutContainer(props) { // 根据登录验证,如果尚未登录,则不可跳转/article useEffect(() => { const { pathname } = location; - const rightList = ['/brief']; + const rightList = ['/article']; if (rightList.every((path) => pathname.indexOf(path) == -1)) { if (!sessionStorage.getItem("user")) { - dispatch(push("/brief")); + dispatch(push("/article")); } }