<template>
  <!-- 祖孙传参 $attrs -->
  <div class="father">
    <h1>父组件</h1>
    <Child v-bind="$attrs"></Child>
  </div>
</template>

<script setup name="Father4" lang="ts">
import Child from './Child.vue';
</script>

<style scoped>

.father {
  width: 600px;
  height: 600px;
  background: plum;
  margin: 0 auto;
}
</style>
