提交 5ae32012 编写于 作者: D DebugIsFalse

fix: 后期处理

上级 eea23d31
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="truncate flex flex-grow">{{ item.title }}</div> <div class="truncate flex flex-grow">{{ item.title }}</div>
<div class="text-gray-200">{{ index + 1 }}</div> <div class="text-gray-200">{{ index + 1 }}</div>
</div> </div>
<div class="text-blue-500 truncate">{{ item.description }}</div> <div class="text-blue-500 truncate">{{ item.label }}</div>
</div> </div>
</UCard> </UCard>
</ULink> </ULink>
......
...@@ -186,6 +186,8 @@ function handleFormatSource (source) { ...@@ -186,6 +186,8 @@ function handleFormatSource (source) {
return { return {
title: state.repo, title: state.repo,
url: isLink ? item : `${gitUrl}/blob/${state.branch}/${item}`, url: isLink ? item : `${gitUrl}/blob/${state.branch}/${item}`,
label: item,
// todo 后期处理
description: '' description: ''
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册