<template>
  <div>
    <div @mousedown="pickup(defaultData,$event)">
      <ComplexMap ref="chart" :defaultData="defaultData.data"></ComplexMap>
      <div class="name">组件名称1</div>
    </div>
  </div>
</template>
<script>
import {ComplexMap} from "@/components/Configure/complex";

export default {
  components: {
    ComplexMap,
  },
  props: ['defaultData'],
  methods: {
    pickup(i, e) {
      this.$emit('pickup', i, e);
    }
  },
}
</script>
<style>

</style>
