src/utils/store.js
@@ -4,6 +4,15 @@ list: {}, show: false }, localLayer: { list: {}, show: false }, queryLayer: { data: null, isShow: false, val: null, }, setPoplayerListAction(newValue) { if (this.debug) { } this.Poplayer.list = newValue @@ -12,6 +21,14 @@ 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;