feat: 长文本组件调整

This commit is contained in:
2026-05-22 14:27:18 +08:00
parent 6e0988e85a
commit 932783af2c
4 changed files with 15 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ const props = defineProps({
const tag = computed(() => getLongTextValue(props.longTextData, "tag"));
const title = computed(() => getLongTextValue(props.longTextData, "title"));
const previewContent = computed(() => {
return getLongTextPreviewText(props.longTextData, ["content"]) || (props.content ? String(props.content) : "");
return getLongTextPreviewText(props.longTextData, ["content_summary"]);
});
// 处理文本内容:按行截断以保证预览最多显示三行(更贴近视觉行数)