example 微调

This commit is contained in:
tangly1024
2022-04-29 15:25:21 +08:00
parent b45500a6ad
commit 5b6b924885
7 changed files with 22 additions and 16 deletions

View File

@@ -39,6 +39,14 @@ export const BlogList = (props) => {
<p className="text-gray-700 leading-normal">
{p.summary}
</p>
{/* 搜索结果 */}
{p.results && (
<p className="mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{p.results.map(r => (
<span key={r}>{r}</span>
))}
</p>
)}
</article>
))}