mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 00:42:12 +08:00
fix(table): fix table setting error
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
- 修复表格 i18n 错误
|
- 修复表格 i18n 错误
|
||||||
- 修复菜单图标大小不一致
|
- 修复菜单图标大小不一致
|
||||||
- 修复顶部菜单宽度计算问题
|
- 修复顶部菜单宽度计算问题
|
||||||
|
- 修复表格 tabSetting 问题
|
||||||
|
|
||||||
## 2.0.0-rc.12 (2020-11-30)
|
## 2.0.0-rc.12 (2020-11-30)
|
||||||
|
|
||||||
|
@@ -158,8 +158,9 @@
|
|||||||
value: (item.dataIndex || item.title) as string,
|
value: (item.dataIndex || item.title) as string,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
if (!plainOptions.value.length) {
|
||||||
plainOptions.value = ret;
|
plainOptions.value = ret;
|
||||||
|
}
|
||||||
const checkList = table
|
const checkList = table
|
||||||
.getColumns()
|
.getColumns()
|
||||||
.map((item) => item.dataIndex || item.title) as string[];
|
.map((item) => item.dataIndex || item.title) as string[];
|
||||||
|
@@ -25,11 +25,23 @@ export const getParentLayout = (name: string) => {
|
|||||||
export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
|
export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
|
||||||
path: '/:path(.*)*',
|
path: '/:path(.*)*',
|
||||||
name: 'ErrorPage',
|
name: 'ErrorPage',
|
||||||
|
redirect: '/error/404',
|
||||||
|
component: LAYOUT,
|
||||||
|
meta: {
|
||||||
|
title: 'ErrorPage',
|
||||||
|
hideBreadcrumb: true,
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: '/error/404',
|
||||||
|
name: 'ErrorPage',
|
||||||
component: EXCEPTION_COMPONENT,
|
component: EXCEPTION_COMPONENT,
|
||||||
meta: {
|
meta: {
|
||||||
title: 'ErrorPage',
|
title: 'ErrorPage',
|
||||||
hideBreadcrumb: true,
|
hideBreadcrumb: true,
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const REDIRECT_NAME = 'Redirect';
|
export const REDIRECT_NAME = 'Redirect';
|
||||||
|
Reference in New Issue
Block a user