diff --git a/src/router/index.js b/src/router/index.js index 97c0db0..8821e6b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -247,7 +247,7 @@ function getPermission() { // 权限 router.beforeEach(function(to, from, next) { // console.log(router.app.$options.store.commit('routers'),'router.app.$options.store') - + document.title = Setting.titleSuffix; if (to.path == "/login") { localStorage.removeItem(Setting.tokenKey); sessionStorage.removeItem("handelPermission"); diff --git a/src/setting.js b/src/setting.js index a0aa5cb..40f0cdc 100644 --- a/src/setting.js +++ b/src/setting.js @@ -12,33 +12,27 @@ const isTest = url.includes('39.108.250.202'); //是否中台测试服 let jumpPath = ""; let host = ""; let title = ""; -let schoolId = null; if (isHh) { // 河海 host = "http://10.196.131.73/"; title = "教师管理端"; - schoolId = 729; } else if (isCH) { // 巢湖 host = "http://120.78.127.12/"; title = "教师管理端"; - schoolId = 1006; } else if (isBeta) { // 职站测试 host = "http://120.78.198.231/"; title = "职站服务端管理系统"; - schoolId = 2105; } else if (isPro) { // 职站生产 host = "http://www.occupationlab.com/"; title = "职站服务端管理系统"; - schoolId = 2105; } else if (isTest){ jumpPath = "http://39.108.250.202/judgmentPoint/"; host = "http://39.108.250.202:9000/"; title = "职站服务端管理系统"; - schoolId = 2105; } else if (isDev) { jumpPath = "http://192.168.31.154:8087/"; // host = "http://39.108.250.202:9000/"; // 中台测试服 @@ -46,7 +40,6 @@ if (isHh) { // host = "http://192.168.31.125:9000/"; // 坤 // host = 'http://192.168.31.137:9000/'; // 赓 title = "职站服务端管理系统"; - schoolId = 2105; } else { console.log("其它版本"); }