This commit is contained in:
王一嘉
2025-07-24 20:40:44 +08:00
parent 9b162d49d0
commit e237f77086
4 changed files with 11 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ const {data, home} = defineProps({
}
});
const list = computed(() => [data.comment_arr]?.flatMap(v => v.children ? [v, ...v.children] : [v]));
const list = computed(() => data.comment_arr?.flatMap(v => v.children ? [v, ...v.children] : [v]));
</script>
<template>