const store = { Poplayer: { list: {}, show: false }, localLayer: { list: {}, show: false }, queryLayer: { data: null, isShow: false, }, setPoplayerListAction(newValue) { if (this.debug) { } this.Poplayer.list = newValue }, setPoplayerShowAction(newValue) { if (this.debug) { } this.Poplayer.show = newValue }, setlocalLayerListAction(newValue) { if (this.debug) { } this.localLayer.list = newValue }, setlocalLayerShowAction(newValue) { if (this.debug) { } this.localLayer.show = newValue }, }; export default store;