const state = {
	id: undefined,
	nickName: undefined,
	userName: undefined,
	roles: [],
	dept: undefined,
}

const mutations = {
	SET_STATE(state, value) {
		state.id = value.userId;
		state.nickName = value.nickName;
		state.userName = value.userName;
		state.dept = value.dept.deptName;
	},
}

export default {
  namespaced: true,
  state,
  mutations,
};


