原来:
columns的“定时任务间隔”列data:
运行效果:
改动:
用slots插槽代替title
在a-table标签之间定义title表头元素,添加a-icon图标
运行效果:
如果需要添加气泡可以这样写
运行效果:
参考Ant Design Vue 官方文档:
a-table表格:https://antdv.com/components/table-cn/
a-tooltip气泡:https://antdv.com/components/tooltip-cn/