mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
提交
This commit is contained in:
@@ -157,12 +157,16 @@ const user = {
|
||||
showHome:res.result.showHome,
|
||||
companyId:res.result.companyId,
|
||||
departId: res.result.departId,
|
||||
adminType:0,
|
||||
departName: res.result.departName,
|
||||
departFullName: dfn,
|
||||
studyTotal: res.result.studyTotal,
|
||||
studyTotalH:studyTotalH,
|
||||
sign:res.result.sign,
|
||||
};
|
||||
if(res.result.adminType){
|
||||
user.adminType=res.result.adminType;
|
||||
}
|
||||
//console.log(user,'user');
|
||||
// user.avatar = user.avatar == "" ? require("@/assets/images/user/default.png") : process.env.VUE_APP_FILE_BASE_URL + user.avatar;
|
||||
user.avatar = user.avatar == "" ? "" : process.env.VUE_APP_FILE_BASE_URL + user.avatar;
|
||||
|
||||
Reference in New Issue
Block a user