mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: 添加状态页面路由及更新 iframe 页面的显示逻辑
This commit is contained in:
@@ -23,7 +23,7 @@ const activePath = computed(() => route.path);
|
|||||||
|
|
||||||
// iframe pages don't show footer; they fill the viewport
|
// iframe pages don't show footer; they fill the viewport
|
||||||
const isIframePage = computed(() =>
|
const isIframePage = computed(() =>
|
||||||
['/doc', '/map', '/photo'].includes(route.path)
|
['/doc', '/map', '/status', '/photo'].includes(route.path)
|
||||||
);
|
);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -58,6 +58,13 @@ export const routes = [
|
|||||||
component: () => import('./pages/DocPage.vue'),
|
component: () => import('./pages/DocPage.vue'),
|
||||||
meta: { seo: routeSeo.doc },
|
meta: { seo: routeSeo.doc },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/status',
|
||||||
|
alias: ['/status.html'],
|
||||||
|
name: 'status',
|
||||||
|
component: () => import('./pages/StatusPage.vue'),
|
||||||
|
meta: { seo: routeSeo.status },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/map',
|
path: '/map',
|
||||||
alias: ['/map.html'],
|
alias: ['/map.html'],
|
||||||
|
|||||||
Reference in New Issue
Block a user