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

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

</style>
