From 6821b9d69ab74027fc3b793bd9104aa4973b4fcc Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 27 Oct 2021 14:33:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- src/setting.js | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) 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("其它版本"); }