const state = {
  tabbarActive: 0,
  tabbarPageScrollTop: [0, 0, 0, 0],
  currentRouter: {
	  meta:{}
  },
  duration: 3000,
  emptyDescription: "这里什么都没有",
  finishedText: "没有更多了",
  successText:"刷新成功",
  showNavBar: true,
  title:null,
  analogList: [],
  analogIntervalTimer: null,
  curAnalogSn: null,
}

const mutations = {
  SET_TABBARACTIVE: (state, object) => {
    state.tabbarActive = object
  },

}

const actions = {
  setTabbarActive({ commit }, object) {
    commit('SET_TABBARACTIVE', object)
  },
}

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