fix vue json pretty collapse issue

This commit is contained in:
pa
2026-01-24 16:06:28 +09:00
parent 0af08e7741
commit 642d222faa
5 changed files with 15 additions and 3 deletions

View File

@@ -688,7 +688,12 @@
@click="downloadAndSaveJson(worldDialog.id, worldDialog.ref)">
<Download />
</Button>
<vue-json-pretty :data="treeData" :deep="2" :theme="isDarkMode ? 'dark' : 'light'" show-icon />
<vue-json-pretty
:key="treeData?.id"
:data="treeData"
:deep="2"
:theme="isDarkMode ? 'dark' : 'light'"
show-icon />
<br />
<vue-json-pretty
v-if="Object.keys(worldDialog.fileAnalysis).length > 0"