<template>
  <div>
    <div @mousedown="pickup(defaultData,$event)" class="name">
      <ComplexText ref="chart" :defaultData="defaultData.data"></ComplexText>
      <div >文字</div>
    </div>
  </div>
</template>
<script>
import {ComplexText} from "@/components/Configure/complex/index";

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

}
</script>
<style scoped>
.name {
  width: 5vw;
  height: 5vw;
  line-height: 5vw;
  text-align: center;
  border: 1px solid #000;
}
</style>
