派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-24 9ce740e0a9eb54c544febfd1f4213618a7ab20e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template>
    <div class="pipeline-file map-background" v-show="pipelineFile">
        <span>管线文件选择</span>
    </div>
</template>
 
<script>
import eventBus from '../../../eventBus'
export default {
  name: 'PipelineFile',
  data () {
    return {
      pipelineFile: false
    }
  },
  mounted () {
    eventBus.$on('pipelineFile-choose', (obj) => {
      this.pipelineFile = obj
    })
  }
}
</script>
 
<style lang="less" scoped>
    .pipeline-file {
        min-width: 1.94532rem;
        max-height: 2.343213rem;
    }
</style>