From 7faee288288eb8858d3bec79622a43983b05ac98 Mon Sep 17 00:00:00 2001 From: ndbs Date: Thu, 27 Oct 2022 15:06:00 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=20=E6=9F=A5=E7=9C=8B=E6=88=91=E7=9A=84?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/my/info.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue index 729eabc82..93b978381 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue @@ -24,8 +24,8 @@ export default { // 计算出用户公司、岗位等信息 info() { - const company = this.currentUser.companyId ? this.GET_GLOBAL('company')[this.currentUser.companyId]?.name : '' - const dep = this.currentUser.departmentId ? this.GET_GLOBAL('department')[this.currentUser.departmentId]?.name : '' + const company = this.currentUser.companyId ? this.GET_GLOBAL('company')[this.currentUser.companyId].name : '' + const dep = this.currentUser.departmentId ? this.GET_GLOBAL('department')[this.currentUser.departmentId].name : '' const role = (this.currentUser.role || []).map(t => t.F_FullName).join(' · ') const job = (this.currentUser.post || []).map(t => t.F_Name).join(' · ') @@ -34,7 +34,7 @@ export default { // 头像图片 url avatarSrc() { - return this.API + `/user/img?data=${this.currentUser.userId}` + return this.API + `/learun/adms/user/img?data=${this.currentUser.userId}` } } }