fix(table): make sure the editing line is working, fix #439

This commit is contained in:
Vben
2021-04-01 00:52:31 +08:00
parent 8a14069e71
commit b54b794264
14 changed files with 196 additions and 53 deletions

View 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;

View File

@@ -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;

View 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;

View File

@@ -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;