chore: Rename the default export name (#3820)

This commit is contained in:
tors 2024-05-09 09:15:58 +08:00 committed by GitHub
parent 7538c57db7
commit 679a23332f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import type { AppRouteModule } from '@/router/types';
import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';
const charts: AppRouteModule = {
const flow: AppRouteModule = {
path: '/flow',
name: 'FlowDemo',
component: LAYOUT,
@ -25,4 +25,4 @@ const charts: AppRouteModule = {
],
};
export default charts;
export default flow;

View File

@ -3,7 +3,7 @@ import type { AppRouteModule } from '@/router/types';
import { getParentLayout, LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';
const permission: AppRouteModule = {
const level: AppRouteModule = {
path: '/level',
name: 'Level',
component: LAYOUT,
@ -65,4 +65,4 @@ const permission: AppRouteModule = {
],
};
export default permission;
export default level;