fix: product命名修正
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled

This commit is contained in:
2025-10-24 16:42:39 +08:00
parent 963690bf53
commit 393dc3885b

View File

@ -51,7 +51,7 @@
)" )"
:key="index" :key="index"
class="recommend-card" class="recommend-card"
@click="handleProductionCardClick(item.id.toString() || '')" @click="handleProductCardClick(item.id.toString() || '')"
> >
<template #header> <template #header>
<el-image <el-image
@ -164,12 +164,12 @@
} }
}); });
const handleProductionCardClick = (documentId: string) => { const handleProductCardClick = (documentId: string) => {
// 使用路由导航到产品详情页 // 使用路由导航到产品详情页
if (documentId) { if (documentId) {
const localePath = useLocalePath(); const localePath = useLocalePath();
const router = useRouter(); const router = useRouter();
router.push(localePath(`/productions/${documentId}`)); router.push(localePath(`/products/${documentId}`));
} }
}; };