Quellcode durchsuchen

app2.0 查看我的信息

娄底高职分支
ndbs vor 2 Jahren
Ursprung
Commit
7faee28828
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +3
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue

+ 3
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/my/info.vue Datei anzeigen

@@ -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}`
}
}
}


Laden…
Abbrechen
Speichern