fixed83: 去掉重复剧情简介,仅显示一处
Docker Build & Test / build (push) Canceled after 0s
Docker Build & Test / test (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/amd64) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm/v7) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm64) (push) Canceled after 0s
Build & Push Docker image / merge-images (push) Canceled after 0s

This commit is contained in:
3970260761 committed 2026-11-08 21:00:23 +08:00
1 parent 1df73ed0bf
commit 53cc479f0f
2 files changed
+6 -3

No files matched your search

+4 -2
View File
@@ -25,6 +25,7 @@ export default function VideoMetaExtra({
area,
lang,
isTv,
desc,
}: {
title: string;
actor?: string;
@@ -36,6 +37,7 @@ export default function VideoMetaExtra({
area?: string;
lang?: string;
isTv?: boolean;
desc?: string;
}) {
const [comments, setComments] = useState<DoubanComment[]>([]);
const [loading, setLoading] = useState(false);
@@ -131,10 +133,10 @@ export default function VideoMetaExtra({
</div>
)}
{dbDetail?.intro && (
{(dbDetail?.intro || desc) && (
<div className='text-sm leading-relaxed opacity-90 whitespace-pre-line'>
<span className='font-semibold'>剧情简介:</span>
{dbDetail.intro}
{dbDetail?.intro || desc}
</div>
)}