1 父页面调用assets-trend子组件,并接受assets-trend子组件传来的参数
<assets-trend style="flex: 2.7">
<template slot-scope="slot">
{
{
slot.slotMsg}}
</template>
</assets-trend>
2 子页面assets-trend使用slot传值
<div>
<template slot="title-tool">
<slot slotMsg="这是子页面的信息"></slot>
</template>
</div>