// computed
const getters = {
  // 缓存realWid是否需要变更布局
  media: state => {
    const docWid = state.config.realWid;
    return {
      mob: docWid <= 734,
      pad: docWid > 734 && docWid <= 1080,
      pc: docWid > 1080
    };
  }
};

export default getters;
