1、官方说明
Ant Design Vue — An enterprise-class UI components based on Ant Design and Vue.js
2、使用title直接赋值
直接给title换行,并且写上<br /> 是不会换行的。
3、查看类型title:string|slot,也就是说我们可以用slot来处理
<Tooltip color="cyan">
<template #title>
这里显示在第一行的位置上
<br />
这里显示在第二行的位置上
<br />
这里显示在第三行的位置上"</template
>
<QuestionCircleOutlined />
</Tooltip>
Tip:这样就显示了换行的状态了。