mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
fix(table): make sure the editing line is working, fix #439
This commit is contained in:
11
src/router/menus/modules/about.ts
Normal file
11
src/router/menus/modules/about.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { MenuModule } from '/@/router/types';
|
||||
import { t } from '/@/hooks/web/useI18n';
|
||||
|
||||
const about: MenuModule = {
|
||||
orderNo: 100000,
|
||||
menu: {
|
||||
path: '/about/index',
|
||||
name: t('routes.dashboard.about'),
|
||||
},
|
||||
};
|
||||
export default about;
|
@@ -1,11 +0,0 @@
|
||||
import type { MenuModule } from '/@/router/types';
|
||||
import { t } from '/@/hooks/web/useI18n';
|
||||
|
||||
const menu: MenuModule = {
|
||||
orderNo: 0,
|
||||
menu: {
|
||||
path: '/home/welcome',
|
||||
name: t('routes.dashboard.welcome'),
|
||||
},
|
||||
};
|
||||
export default menu;
|
28
src/router/routes/modules/about.ts
Normal file
28
src/router/routes/modules/about.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import type { AppRouteModule } from '/@/router/types';
|
||||
|
||||
import { LAYOUT } from '/@/router/constant';
|
||||
import { t } from '/@/hooks/web/useI18n';
|
||||
|
||||
const dashboard: AppRouteModule = {
|
||||
path: '/about',
|
||||
name: 'About',
|
||||
component: LAYOUT,
|
||||
redirect: '/about/index',
|
||||
meta: {
|
||||
icon: 'simple-icons:about-dot-me',
|
||||
title: t('routes.dashboard.about'),
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
name: 'AboutPage',
|
||||
component: () => import('/@/views/sys/about/index.vue'),
|
||||
meta: {
|
||||
title: t('routes.dashboard.about'),
|
||||
icon: 'simple-icons:about-dot-me',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default dashboard;
|
@@ -1,29 +0,0 @@
|
||||
import type { AppRouteModule } from '/@/router/types';
|
||||
|
||||
import { LAYOUT } from '/@/router/constant';
|
||||
import { t } from '/@/hooks/web/useI18n';
|
||||
|
||||
const dashboard: AppRouteModule = {
|
||||
path: '/home',
|
||||
name: 'Home',
|
||||
component: LAYOUT,
|
||||
redirect: '/home/welcome',
|
||||
meta: {
|
||||
icon: 'ion:home-outline',
|
||||
title: t('routes.dashboard.welcome'),
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'welcome',
|
||||
name: 'Welcome',
|
||||
component: () => import('/@/views/dashboard/welcome/index.vue'),
|
||||
meta: {
|
||||
title: t('routes.dashboard.welcome'),
|
||||
affix: true,
|
||||
icon: 'bx:bx-home',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default dashboard;
|
Reference in New Issue
Block a user