对接后端个人信息部分接口
This commit is contained in:
@@ -12,6 +12,14 @@ export default {
|
||||
layoutTags: config.LAYOUT_TAGS,
|
||||
//主题
|
||||
theme: config.THEME,
|
||||
// 获取聊天记录
|
||||
msg: "",
|
||||
// 用户消息总数
|
||||
msgNum:0,
|
||||
// 用户名
|
||||
login_name:'管理员',
|
||||
// 用户头像
|
||||
login_avatar:'https://dm-auto.oss-cn-shanghai.aliyuncs.com/mes-login/logo.png',
|
||||
},
|
||||
mutations: {
|
||||
SET_ismobile(state, key){
|
||||
@@ -28,6 +36,15 @@ export default {
|
||||
},
|
||||
TOGGLE_layoutTags(state){
|
||||
state.layoutTags = !state.layoutTags
|
||||
}
|
||||
},
|
||||
SET_LOGIN_NAME(state, key) {
|
||||
state.login_name = key
|
||||
},
|
||||
SET_LOGIN_AVATAR(state, key) {
|
||||
state.login_avatar = key
|
||||
},
|
||||
SET_WS_Msg_NUM(state, key) {
|
||||
state.msgNum = key
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user