提交 9fd0b748 编写于 作者: View Design's avatar View Design

Merge branch 'main' of gitcode.com:git_bot/ai-fe

......@@ -65,7 +65,7 @@ export function gitToLabel(url) {
export function handleFormatRepoStars (repoObj, gits) {
const card = {
type: 'search_relate_repo',
title: 'Star对比',
title: 'Star 数量',
ready: true,
data: []
}
......@@ -75,7 +75,7 @@ export function handleFormatRepoStars (repoObj, gits) {
})
Object.keys(repoObj).forEach(child => {
const data = repoObj[child]
const cardDataItem = { data: [{ data: [], label: 'Star数量' }], labels: [], info: gitsMap[child] }
const cardDataItem = { data: [{ data: [], label: 'Star 数量' }], labels: [], info: gitsMap[child] }
data.forEach(dataItem => {
const { date, stargazers } = dataItem
cardDataItem.labels.push(date)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册