Annotation

This commit is contained in:
tangly1024
2024-01-31 21:59:11 +08:00
parent f5a710ce90
commit ea859a6c3c

View File

@@ -22,6 +22,8 @@ const BlogPostCard = ({ post, className }) => {
</div>
</Link>
)
// 检查连接是否是外链
function sliceUrlFromHttp(str) {
// 检查字符串是否包含http
if (str.includes('http')) {