feat: introduce useKeepAliveRefresh composable to manage tab data synchronization and lifecycle refresh logic

This commit is contained in:
jxxghp
2026-05-17 07:43:42 +08:00
parent 587f06eb9f
commit bbe3368c69
8 changed files with 206 additions and 43 deletions

View File

@@ -31,6 +31,10 @@ const props = defineProps({
type: Array as PropType<FileItem[]>,
default: () => [],
},
active: {
type: Boolean,
default: true,
},
})
// 对外事件
@@ -308,6 +312,7 @@ function stopDrag() {
:refreshpending="refreshPending"
:sort="sort"
:showTree="showDirTree"
:active="active"
:style="{ flex: 1 }"
@pathchanged="pathChanged"
@loading="loadingChanged"