多重嵌套的组件A>B>C中
//$attrs在B组件中自动获得在A组件中,B组件上绑定的,除了props传输、.native、CSS和Style之外的数据,假如在C组件和B组件同时调用A组件的函数,那么会先执行C组件的,然后执行B组件的
//components-a
<template>
<div>
<components-b
:name="name"
:age="age"
@test="test"
/>
</div>
</template>
<script>
data