Files
Situation-Awareness-Platfor…/src/components/CommitList
2025-03-12 18:41:20 +08:00
..
2025-03-12 18:41:20 +08:00
2025-03-12 18:41:20 +08:00

CommitList

说明

  • Commit列表组件传入Commit实例对象
  • @TODO 目前时间列表组件在交互样式上与原型有点差别。已与HW沟通待高保真定稿再联合修改
<CommitList :list="commitList" loadMore @onMore="loadMore" />

Props

参数 说明 类型 可选值 默认值
list Commit对象数据数组 Array - -
loadMore? 是否显示加载更多按钮。开启loadMore才可监听onMore事件 boolean - false
loadMoreText? 加载更多按钮上的文字需开启loadMore才生效 string - '点击加载更多'

Emits

方法 说明 返回值
onMore 点击加载更多按钮