提交 0156745f authored 作者: lhh's avatar lhh

update

上级 3c45f0b2
...@@ -7,7 +7,7 @@ const router = createRouter({ ...@@ -7,7 +7,7 @@ const router = createRouter({
}) })
router.beforeEach(async (to, from, next) => { router.beforeEach(async (to, from, next) => {
if (window.location.origin === 'https://dasai.ezijing.com') { if (window.location.href === 'https://dasai.ezijing.com') {
next() next()
} else { } else {
const whiteList = ['/401'] const whiteList = ['/401']
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论