| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { mapState, mapMutations } from "vuex"; |
| | | import WmsHelper from "../../helpers/WmsHelper"; |
| | | import { mapState, mapMutations } from 'vuex' |
| | | import WmsHelper from '../../helpers/WmsHelper' |
| | | |
| | | export default { |
| | | name: "LcServiceLayerFilter", |
| | | name: 'LcServiceLayerFilter', |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | filterConfig: [], // 附属要素 |
| | | }; |
| | | filterConfig: [] // 附属要素 |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState({ |
| | |
| | | mapConfig: (state) => { |
| | | return state.mapConfig |
| | | } |
| | | }), |
| | | }) |
| | | }, |
| | | mounted() { |
| | | |
| | |
| | | this.filterConfig = this.serviceLayerHelper.getWMSConfig(newVal).filtersGroup |
| | | } |
| | | } |
| | | }; |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |