<template>
  <div>
    <h1 class="h-26 text-6xl">子组件</h1>
    <hr class="h-15" />
    <hr class="h-15" />
    <GrandSon v-bind="$attrs"></GrandSon>
  </div>
</template>

<script lang="ts" setup>
import { ref, reactive } from "vue";
import GrandSon from "./GrandSon.vue";
// 避免attrs自动挂载到根元素上变成多余的属性
defineOptions({ inheritAttrs: false });
</script>

<style lang="scss" scoped>
</style>
