diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index e816e88..6aaab84 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -54,9 +54,9 @@ export default { }, getUserDetail () { // 获取用户详情 this.$get(this.api.queryUserInfoDetails).then(res => { - let info = res.result.hrUserInfo; - this.setAvatar(info.userAvatars ? info.userAvatars : ""); - this.setUserName(info.userName); + let {userAvatars, userName} = res.result.hrUserInfo; + userAvatars && this.setAvatar(userAvatars); + this.setUserName(userName); }).catch(res => {}); }, } diff --git a/src/pages/system/list/index.vue b/src/pages/system/list/index.vue index 247172d..c5afe53 100644 --- a/src/pages/system/list/index.vue +++ b/src/pages/system/list/index.vue @@ -53,7 +53,7 @@ export default { delete this.tabs.role; } if (!tab3) { - // delete this.tabs.logo; + delete this.tabs.logo; } } } diff --git a/src/setting.js b/src/setting.js index a0aa5cb..d47d0f5 100644 --- a/src/setting.js +++ b/src/setting.js @@ -41,8 +41,8 @@ if (isHh) { schoolId = 2105; } else if (isDev) { jumpPath = "http://192.168.31.154:8087/"; - // host = "http://39.108.250.202:9000/"; // 中台测试服 - host = "http://192.168.31.151:9000/"; // 榕 + host = "http://39.108.250.202:9000/"; // 中台测试服 + // host = "http://192.168.31.151:9000/"; // 榕 // host = "http://192.168.31.125:9000/"; // 坤 // host = 'http://192.168.31.137:9000/'; // 赓 title = "职站服务端管理系统";