提交 9dc72448 编写于 作者: D DebugIsFalse

Update searchUtil.js

上级 bb58a87e
...@@ -75,7 +75,7 @@ export function handleFormatRepoStars (repoObj, gits) { ...@@ -75,7 +75,7 @@ export function handleFormatRepoStars (repoObj, gits) {
}) })
Object.keys(repoObj).forEach(child => { Object.keys(repoObj).forEach(child => {
const data = repoObj[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 => { data.forEach(dataItem => {
const { date, stargazers } = dataItem const { date, stargazers } = dataItem
cardDataItem.labels.push(date) cardDataItem.labels.push(date)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册