diff --git a/src/assets/img/logo-white.png b/src/assets/img/logo-white.png new file mode 100644 index 0000000..96be788 Binary files /dev/null and b/src/assets/img/logo-white.png differ diff --git a/src/router/index.js b/src/router/index.js index 653bf6d..7fb67e0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -245,7 +245,7 @@ router.beforeEach(function(to, from, next) { // 根据路由元信息设置文档标题 window.document.title = to.meta.title || '中台'; //使用钩子函数对路由进行权限跳转 - const login = location.href.includes('dev.huorantech.cn') ? '/devLogin' : '/login' + const login = location.href.includes('192.168.31.126:') ? '/devLogin' : '/login' if (!sessionStorage.getItem('token') && to.path !== login && to.path !== '/join' && to.path !== '/success') { next(login); } else { diff --git a/src/views/devLogin.vue b/src/views/devLogin.vue index 937c046..3ab7411 100644 --- a/src/views/devLogin.vue +++ b/src/views/devLogin.vue @@ -1,74 +1,65 @@