<template>
  <div>
    <el-form-item label="复制数据处理" label-width="150px">
      <a href="javascript:void(0);" class="a-link link-oneLind"
         @click="editEventHandler('copyDataHandle', copyDataHandleParams)">
        <span>{{ optionModel.copyDataHandle }}</span>
        <i class="el-icon-edit"></i>
      </a>
    </el-form-item>
  </div>
</template>

<script>
  import i18n from "../../../../../components/xform/utils/i18n"
  import eventMixin
    from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";

  export default {
    name: "copyButton-editor",
    mixins: [i18n,eventMixin],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
    data(){
      return {
        copyDataHandleParams: ["dataId", "formCode", "copyData", "done"]
      }
    },
  }
</script>

<style scoped>

</style>
