diff --git a/app/components/DevelopNews.vue b/app/components/DevelopNews.vue index 372389c..3284de2 100644 --- a/app/components/DevelopNews.vue +++ b/app/components/DevelopNews.vue @@ -72,7 +72,7 @@ const getArticleLink = (articleId: number): string => { return `http://www.yuxiit.com/news/news_${articleId}.html` } -// 获取显示的文章列表(每个分类显示前2篇文章,与原来jQuery版本保持一致) +// 获取显示的文章列表(每个分类显示前2篇文章) const getDisplayArticles = (articles: Article[]): Article[] => { return articles.slice(0, 2) } diff --git a/app/data/indexData.ts b/app/data/indexData.ts index b953cfe..2af4134 100644 --- a/app/data/indexData.ts +++ b/app/data/indexData.ts @@ -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',