Merge branch 'main' into xzhseh/sqlite-event-manager

This commit is contained in:
Zihao Xu
2026-01-07 20:05:02 -08:00
committed by GitHub
74 changed files with 1754 additions and 806 deletions

View File

@@ -154,12 +154,12 @@ async function handleClearObjective() {
/>
</div>
<!-- Items -->
<div class="section" v-if="data.items?.length">
<div class="section-title">物品</div>
<!-- Materials -->
<div class="section" v-if="data.materials?.length">
<div class="section-title">材料</div>
<div class="list-container">
<EntityRow
v-for="item in data.items"
v-for="item in data.materials"
:key="item.name"
:item="item"
:meta="`x${item.count}`"

View File

@@ -52,7 +52,6 @@ async function handleLoad(filename: string) {
await gameApi.loadGame(filename)
worldStore.reset()
uiStore.clearSelection()
uiStore.clearHoverCache()
await worldStore.initialize()
message.success('读档成功')
emit('close')