Skip to content

fix: website url routes exception #12

Open
cq2021-coder wants to merge 2 commits intoliyupi:masterfrom
cq2021-coder:chore/fix-routes
Open

fix: website url routes exception #12
cq2021-coder wants to merge 2 commits intoliyupi:masterfrom
cq2021-coder:chore/fix-routes

Conversation

@cq2021-coder
Copy link
Copy Markdown
Contributor

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

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

Choose a reason for hiding this comment

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

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

@liyupi
Copy link
Copy Markdown
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.

2 participants