<template>
  <!-- 任务名插件 -->
  <theme>
    <view>{{ task.name }}</view>
  </theme>
</template>

<script setup>
defineProps({ task: { type: Object, default: () => {} } });
</script>
