优化代码,修复bug

dev_2022-05-11
yujialong 3 years ago
parent 2d0694ec85
commit 897d16fcdb
  1. 6
      src/layouts/header/index.vue
  2. 2
      src/pages/system/list/index.vue
  3. 4
      src/setting.js

@ -54,9 +54,9 @@ export default {
}, },
getUserDetail () { // getUserDetail () { //
this.$get(this.api.queryUserInfoDetails).then(res => { this.$get(this.api.queryUserInfoDetails).then(res => {
let info = res.result.hrUserInfo; let {userAvatars, userName} = res.result.hrUserInfo;
this.setAvatar(info.userAvatars ? info.userAvatars : ""); userAvatars && this.setAvatar(userAvatars);
this.setUserName(info.userName); this.setUserName(userName);
}).catch(res => {}); }).catch(res => {});
}, },
} }

@ -53,7 +53,7 @@ export default {
delete this.tabs.role; delete this.tabs.role;
} }
if (!tab3) { if (!tab3) {
// delete this.tabs.logo; delete this.tabs.logo;
} }
} }
} }

@ -41,8 +41,8 @@ if (isHh) {
schoolId = 2105; schoolId = 2105;
} else if (isDev) { } else if (isDev) {
jumpPath = "http://192.168.31.154:8087/"; jumpPath = "http://192.168.31.154:8087/";
// host = "http://39.108.250.202:9000/"; // 中台测试服 host = "http://39.108.250.202:9000/"; // 中台测试服
host = "http://192.168.31.151:9000/"; // 榕 // host = "http://192.168.31.151:9000/"; // 榕
// host = "http://192.168.31.125:9000/"; // 坤 // host = "http://192.168.31.125:9000/"; // 坤
// host = 'http://192.168.31.137:9000/'; // 赓 // host = 'http://192.168.31.137:9000/'; // 赓
title = "职站服务端管理系统"; title = "职站服务端管理系统";

Loading…
Cancel
Save