const user = { state: { userInfo: {} }, mutations: { setUserInfo(state,userinfo){ state.userInfo = userinfo } } } export default user