需求:点击商品来源这一列 弹出一个时间线,查看商品的来源记录
<el-popover></el-popover> 弹出框组件
<el-timeline-item></el-timeline-item>时间线组件
slot-scope=scope slot是插槽,slot-scope=“scope“语义更加明确,相当于一行的数据
对这个时间线设定样式,overflow:auto 右侧有滚动条
效果展示:
需求:点击商品来源这一列 弹出一个时间线,查看商品的来源记录
<el-popover></el-popover> 弹出框组件
<el-timeline-item></el-timeline-item>时间线组件
slot-scope=scope slot是插槽,slot-scope=“scope“语义更加明确,相当于一行的数据
对这个时间线设定样式,overflow:auto 右侧有滚动条
效果展示: