import { btnAuthFilter,setToken, getToken } from '@/libs/util'
import userinfo from  "./metainfo/userinfo"
import dicinfo from "./metainfo/dict"
export default {
  state: {
      user_info:userinfo,
      dict_info:dicinfo
  },
  mutations: {

  },
  getters: {
    user_info: (state, getters, {user}) => btnAuthFilter(state.user_info,user),//定义一个函数添加权限控制逻辑
    dict_info:state=>state.dict_info
  },
  actions: {
  
  }
}
