mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
笔记刷新页面
This commit is contained in:
@@ -9,7 +9,7 @@ import apiStat from "@/api/phase2/stat.js";
|
||||
|
||||
const user = {
|
||||
state: {
|
||||
info: { aid: '', loginName: '', name: '', avatar: '', userNo: '', departId: '', departName: '', departFullName: '',studyTotal:0,studyTotalH:0},
|
||||
info: { aid: '', loginName: '',sign:'', name: '', avatar: '', userNo: '', departId: '', departName: '', departFullName: '',studyTotal:0,studyTotalH:0},
|
||||
identity: 2, // 1表学员,2表教师,3表管理员。目前只有3会被设置表示学员教师管理员身份都有
|
||||
msg:0,//未读消息数
|
||||
messagesBeReviewed: 0,//待审核的消息
|
||||
@@ -166,7 +166,8 @@ const user = {
|
||||
departName: res.result.departName,
|
||||
departFullName: dfn,
|
||||
studyTotal: res.result.studyTotal,
|
||||
studyTotalH:studyTotalH
|
||||
studyTotalH:studyTotalH,
|
||||
sign:res.result.sign,
|
||||
};
|
||||
// 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