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

update

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