项目初始化

This commit is contained in:
2026-03-19 12:19:53 +08:00
parent a5f06b64df
commit 3b411f48eb
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

View File

@@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

View File

@@ -6,6 +6,7 @@ export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
* @description: default layout
*/
export const LAYOUT = () => import('@jeesite/core/layouts/default/index.vue');
export const SCREEN_LAYOUT = () => import('@jeesite/core/layouts/screen/index.vue');
export const IFRAME_BLANK = () => import('@jeesite/core/layouts/iframe/FrameBlank.vue');
export const IFRAME_SIMPLE = () => import('@jeesite/core/layouts/iframe/FrameSimple.vue');
export const EXCEPTION_COMPONENT = () => import('@jeesite/core/layouts/views/exception/Exception.vue');

View File

@@ -0,0 +1,31 @@
import type { AppRouteModule } from '@jeesite/core/router/types';
import { SCREEN_LAYOUT } from '@jeesite/core/router/constant';
import { t } from '@jeesite/core/hooks/web/useI18n';
const screen: AppRouteModule = {
path: '/screen',
name: 'Screen',
component: SCREEN_LAYOUT,
redirect: '/screen/analysis',
meta: {
orderNo: 10,
icon: 'i-ant-design:home-outlined',
title: t('routes.dashboard.dashboard'),
},
children: [
{
path: 'analysis',
name: 'Analysis',
component: () => import('@jeesite/core/layouts/views/screen/analysis/index.vue'),
meta: {
// affix: true,
icon: 'i-ant-design:home-outlined',
tabIcon: 'i-ant-design:home-outlined',
title: t('routes.dashboard.analysis'),
},
},
],
};
export default screen;