Add empty data guard in MoreModal columnData computed property

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 16:31:25 +08:00
parent f5ade65939
commit 89dc327044

View File

@@ -200,6 +200,7 @@ const caseData = computed(() => {
const columnData = computed(() => { const columnData = computed(() => {
const data = JSON.parse(JSON.stringify(props.cases)); // Deep copy the original cases data const data = JSON.parse(JSON.stringify(props.cases)); // Deep copy the original cases data
if (!data || data.length === 0) return [];
const facetName = (facName) => const facetName = (facName) =>
facName facName
.trim() .trim()