el-tooltip设置提示在下边

时间:2024-10-12 15:01:25

1、打开一个vue文件,添加一个el-tooltip文字提示组件。如图

el-tooltip设置提示在下边

2、在el-tooltip标签上添加placement属性,设置值为bottom,用于设置提示内容显示在底部。如图

el-tooltip设置提示在下边

3、保存vue文件后使用浏览器打开,鼠标滑过提示文字发现提示内容显示在底部了。如图

el-tooltip设置提示在下边
© 手抄报圈