<!--
 * @Author: zwq
 * @Date: 2023-03-03 15:25:53
 * @LastEditors: zwq
 * @LastEditTime: 2023-03-03 15:33:07
 * @Description: 
-->
<template>
  <span>
    <el-button type="text" size="small" @click="emitClick">子任务</el-button>
  </span>
</template>

<script>
export default {
  props: {
    injectData: {
      type: Object,
      default: () => ({})
    }
  },
  methods: {
    emitClick() {
      this.$router.push({
        name: 'mtTaskInfoDet',
        query: {
          id: this.injectData.id
        }
      })
    }
  }
}
</script>