[update] -会员系统单点登录 做菜单、头部信息的隐藏

This commit is contained in:
fengchenchen
2021-10-26 18:37:15 +08:00
parent 6a83bed67a
commit 51e6a73389
5 changed files with 30 additions and 6 deletions
+6 -1
View File
@@ -7,6 +7,8 @@ import { getAction } from '@/api/manage'
const user = {
state: {
// 使用系统的名称,只有在会员系统嵌入来款系统的时候使用 传值为 member
system: '',
token: '',
username: '',
realname: '',
@@ -18,6 +20,9 @@ const user = {
},
mutations: {
SET_SYSTEM: (state, system) => {
state.system = system
},
SET_TOKEN: (state, token) => {
state.token = token
},
@@ -205,4 +210,4 @@ const user = {
}
}
export default user
export default user