CommitItem
说明
- Commit信息卡片,用于分支详情页-commit记录等
import CommitItem from '@/components/CommitItem/index.vue';
<CommitItem id="xxx" message="xxx" .... />
Props
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| id | commit id | string | - | - |
| message | commit描述信息 | string | - | - |
| repoId | commit对应的仓库id | string | - | - |
| namespace | commit对应的用户命名空间 | string | - | - |
| statusText | commit状态描述 | string | - | - |
| createTime | 创建时间 | string | - | - |
| userAvatar | 用户头像src | string | - | - |
| username | 用户名称 | string | - | - |