重写文章请求方法

This commit is contained in:
WindowBird 2025-10-10 10:55:02 +08:00
parent 95a119d67f
commit b1cfe27a47
2 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,7 @@ const getArticleLink = (articleId: number): string => {
return `http://www.yuxiit.com/news/news_${articleId}.html`
}
// 2jQuery
// 2
const getDisplayArticles = (articles: Article[]): Article[] => {
return articles.slice(0, 2)
}

View File

@ -161,7 +161,6 @@ export const pageConfig = {
'/js/jquery-1.10.2.js',
'/js/bootstrap.min.js',
'/js/index.js',
'/js/news.js',
'/js/gopcOm.js'
],
favicon: '/img/logoIco.ico',