对接后端个人信息部分接口

This commit is contained in:
龙运模
2024-07-03 20:05:29 +08:00
parent 43f9a8d49c
commit 0bb1d10f4b
26 changed files with 695 additions and 86 deletions
+18 -1
View File
@@ -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
},
}
}