const state = {
    sidebar_list: [],   // 导航列表
    show_big_scene_nav: false,  // 是否显示大屏
}

const mutations = {
    CHANGE_SIDEBAR_LIST: (state, val) => {
        state.sidebar_list = val
    },
    CHANGE_SHOW_BIG_SCENE_NAV: (state, val) => {
        state.show_big_scene_nav = val
    }
}

const actions = {
    CHANGE_SHOW_BIG_SCENE_NAV({commit}, data) {
        commit('CHANGE_SHOW_BIG_SCENE_NAV', data)
    }
}

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

