sync(theme-2): 同步 main 最新 API/Admin 与玩家端逻辑
从 main 同步站内信手动发送、媒体库选择、列表子路由重构等 API/Admin 改动;玩家端仅合并 ADMIN_CUSTOM 富文本、消息预览与充值截图压缩逻辑,保留 theme-2 样式。
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