feat(admin+api): 列表页子路由重构、结算历史与充值截图清理
赛事/代理管理从表格展开改为子路由详情页;结算页增加预览弹窗与历史记录;媒体库支持截图存储统计与自动/手动清理;Player 端充值截图压缩为 WebP 300KB。
This commit is contained in:
@@ -129,7 +129,7 @@ const currentLabel = computed(() => {
|
||||
return hit?.label ?? '';
|
||||
});
|
||||
|
||||
const topbarCrumbs = computed(() => resolveAdminBreadcrumb(route.path, t));
|
||||
const topbarCrumbs = computed(() => resolveAdminBreadcrumb(route.path, t, route.query));
|
||||
|
||||
const roleLabel = computed(() => {
|
||||
if (auth.isAdmin.value) {
|
||||
@@ -303,9 +303,9 @@ watch(() => route.path, () => {
|
||||
</div>
|
||||
</header>
|
||||
<main class="page-main">
|
||||
<RouterView v-slot="{ Component }">
|
||||
<RouterView v-slot="{ Component, route: layoutRoute }">
|
||||
<KeepAlive :max="10" :include="keepAliveIncludes">
|
||||
<component :is="Component" />
|
||||
<component :is="Component" :key="layoutRoute.matched[1]?.path ?? layoutRoute.path" />
|
||||
</KeepAlive>
|
||||
</RouterView>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user