vben
2020-12-06 59ad82442bf213bac547940086ff4e14d0cd342a
fix(table): fix table setting error
3个文件已修改
20 ■■■■ 已修改文件
CHANGELOG.zh_CN.md 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Table/src/components/TableSetting.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/constant.ts 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CHANGELOG.zh_CN.md
@@ -29,6 +29,7 @@
- 修复表格 i18n 错误
- 修复菜单图标大小不一致
- 修复顶部菜单宽度计算问题
- 修复表格 tabSetting 问题
## 2.0.0-rc.12 (2020-11-30)
src/components/Table/src/components/TableSetting.vue
@@ -158,8 +158,9 @@
            value: (item.dataIndex || item.title) as string,
          });
        });
        plainOptions.value = ret;
        if (!plainOptions.value.length) {
          plainOptions.value = ret;
        }
        const checkList = table
          .getColumns()
          .map((item) => item.dataIndex || item.title) as string[];
src/router/constant.ts
@@ -25,11 +25,23 @@
export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
  path: '/:path(.*)*',
  name: 'ErrorPage',
  component: EXCEPTION_COMPONENT,
  redirect: '/error/404',
  component: LAYOUT,
  meta: {
    title: 'ErrorPage',
    hideBreadcrumb: true,
  },
  children: [
    {
      path: '/error/404',
      name: 'ErrorPage',
      component: EXCEPTION_COMPONENT,
      meta: {
        title: 'ErrorPage',
        hideBreadcrumb: true,
      },
    },
  ],
};
export const REDIRECT_NAME = 'Redirect';