派生自 wuyushui/SewerAndRainNetwork

XingChuan
2021-05-27 43f8d22222b92cca58f47ee912a5395191f79788
src/components/layer/src/layer.vue
@@ -2,7 +2,7 @@
  <div class="public-bounced map-background" v-drag :style="style">
    <div class="public-bounced-title panel-title" ref="publicBounced">
      <span>{{ title }}</span>
      <i class="el-icon-circle-close" @click="close"></i>
      <i class="el-icon-close" @click="close"></i>
    </div>
    <div class="public-bounced-content" :id="id"></div>
  </div>
@@ -10,6 +10,7 @@
<script>
import helper from './helper/helper.js'
import '../../../utils/dragBoxes'
export default {
  data () {
@@ -47,10 +48,8 @@
    },
    init () {
      const propsData = helper.deepClone(this.content.data) || {}
      propsData.layerid = this.id
      propsData.lydata = this.content.data
      propsData.lyoption = this.options
      const instance = new this.content.content({
      // console.log(propsData)
      const instance = new this.content.comp({
        // parent: this.content.parent,
        propsData: propsData
      })