Skip to content
New issue

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

fix: website url routes exception #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cq2021-coder
Copy link
Contributor

这里在全局第一次加载时获取到所有的路由,在每一次跳转时查询前往的页面是否存在,如果不存在则跳转至learn页面(前端写的不精,见笑)

缺少class_id和exam_num的描述
这里在全局第一次加载时获取到所有的路由,在每一次跳转时查询前往的页面是否存在,如果不存在则跳转至learn页面
@@ -21,7 +21,8 @@
<a-menu-item key="/playground">广场</a-menu-item>
<a-menu-item>
<a href="https://github.com/liyupi/sql-mother" target="_blank">
<github-outlined /> 代码开源
<github-outlined />
代码开源
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

尽量减少不必要的代码改动

@liyupi
Copy link
Owner

liyupi commented Aug 5, 2023

这里其实可以自定义全局 404 页面来做重定向

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants