chore: 去除console.log输出
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m4s

This commit is contained in:
2025-11-08 10:10:19 +08:00
parent b386d4e60d
commit 37e89c3eda
6 changed files with 0 additions and 27 deletions

View File

@ -19,10 +19,6 @@ export function toHomepageView(raw: Homepage): HomepageView {
const cover = isObject<DirectusFile>(item.cover)
? item.cover.id
: item.cover;
console.log(
'Has empty array in product translations:',
item.translations.length === 0
);
const trans = item.translations?.[0] ?? { name: '', summary: '' };
return {
id: item.id,