vue3.0 `slot` attributes are deprecated.`slot`属性已弃用
使用:
<slot name="center">
<img src="../../../../../1.png" alt=""/>
</slot>
<slot name="footer">
<a href="www.baidu.com">niaho</a>
</slot>
使用:
<slot name="center">
<img src="../../../../../1.png" alt=""/>
</slot>
<slot name="footer">
<a href="www.baidu.com">niaho</a>
</slot>