<template>
  <div class="withinLine">
    <el-button type="info" size="mini" @click="clone">关闭</el-button>
  </div>
</template>

<script>
import { EventBus } from '@/utils/eventBus'
import buttonMixin from './button_mixin.js'
export default {
  mixins: [buttonMixin],
  methods: {
    clone() {
      EventBus.$emit('handleOrderClone')
    }
  }
}
</script>

<style lang="scss" scoped>
.withinLine {
  display: inline-block;
  ::v-deep .el-button {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 10px;
  }
}
</style>
