add Dashboard

This commit is contained in:
Timi
2026-04-10 00:01:38 +08:00
parent d9e32c4dbe
commit 489cbb5d0f
14 changed files with 1134 additions and 54 deletions

View File

@@ -17,9 +17,9 @@
/>
</section>
<div v-else-if="pageLoading" class="loading-wrap">
<t-loading text="加载目录中" />
<t-loading text="Loading directory" />
</div>
<t-empty v-else description="当前目录为空" />
<t-empty v-else description="Directory is empty" />
</div>
</template>
@@ -72,7 +72,7 @@ const shouldUseRoutePath = computed(() => {
return false;
}
return route.name === "FilePage" || route.name === "FileExplorerPage";
return route.name === "FileTab" || route.name === "FileExplorerPage";
});
const routeSegments = computed(() => normalizePath(route.params.pathMatch));
@@ -399,4 +399,4 @@ function getDirectoryKey(pathSegments: string[]): string {
box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .22);
}
}
</style>
</style>