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

export default {
  components: {
    ComplexChart,
  },
  props: ['defaultData'],
  methods: {
    pickup(i, e) {
      this.$emit('pickup', i, e);
    }
  },

}
</script>
<style>

</style>
