fix: 修复搜索跳转弹窗无法打开的问题

- AppMain.vue: 将 router-view 的 key 从 route.fullPath 改为 route.path,避免 query 参数变化导致组件销毁重建
- list.vue: watch 中 router.replace 增加 query 非空判断,防止不必要的 URL 清理
- list.vue: handleEdit 的 nextTick 增加 try-catch 防御性保护
- list.vue: 添加 onUnmounted 调试探针
This commit is contained in:
yueli
2026-08-03 13:25:54 +08:00
parent b84fffbd37
commit 6c7f8dbe61
2 changed files with 38 additions and 27 deletions

View File

@ -1,7 +1,7 @@
<template>
<section class="app-main">
<router-view v-slot="{ Component, route }">
<component :is="Component" :key="route.fullPath" />
<component :is="Component" :key="route.path" />
</router-view>
</section>
</template>