add Dashboard
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user