<template>
  <keep-alive include="TaskSetHome">
    <task-set-home @changeOperation="changeOperation" v-if="!operationType"/>
    <task-set-detail :operation-type="operationType" :current-op-obj="currentOpObj" @changeOperation="changeOperation" v-else/>

  </keep-alive>
</template>

<script>
import TaskSetHome from "@/view/other/c-views/data-handle/task-manage/task-set/TaskSetHome.vue";
import TaskSetDetail from "@/view/other/c-views/data-handle/task-manage/task-set/TaskSetDetail.vue";
import {useClickRouterToHome} from "@/unit/use-method/usePagination";

export default {
  name: "TaskSet",
  components: {TaskSetDetail, TaskSetHome},
  setup() {
    const {changeOperation,currentOpObj,operationType} = useClickRouterToHome()
    return {
      changeOperation,currentOpObj,operationType
    }
  }
}
</script>

<style scoped lang="scss">

</style>
