feat: 更新国际化内容和优化首页组件
refactor: 移除调试日志和简化博客页面逻辑 docs: 更新多语言翻译文件,添加公司信息、产品中心和应用领域等内容
This commit is contained in:
@@ -13,8 +13,6 @@ export async function getPosts(locale: string = DEFAULT_LOCALE, category?: strin
|
||||
url += '&categoryId=' + Id_Map[category || 'announce']
|
||||
}
|
||||
|
||||
console.log(url);
|
||||
|
||||
const response = await fetch(url);
|
||||
const data = await response.json();
|
||||
const posts = data.rows.map((item: any) => {
|
||||
|
||||
Reference in New Issue
Block a user