wupengfei
6 天以前 8e94e3f60a91e536d69e643b4dc13804b79370bc
src/constants/module.ts
@@ -1,3 +1,5 @@
import { defineColumns } from '@bole-core/components';
export enum SubModuleType {
  MenuButton = 1,
  /**
@@ -90,7 +92,7 @@
  [SubModuleType.Column]: FastColumnList,
};
export const ModuleColumns: API.CustomModuleColumnDto[] = [
export const ModuleColumns = defineColumns([
  {
    id: '1',
    enCode: 'name',
@@ -99,18 +101,18 @@
  },
  {
    id: '2',
    enCode: 'enCode',
    enCode: 'code',
    name: '编号',
  },
  {
    id: '3',
    enCode: 'sortCode',
    enCode: 'sort',
    name: '排序',
    width: 80,
  },
  {
    id: '4',
    enCode: 'path',
    enCode: 'url',
    name: '路由地址',
  },
  {
@@ -131,4 +133,4 @@
    name: '有效',
    width: 80,
  },
];
]);