From bae1e0d700497fc5bb88949b8b36b9049dfa1a27 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 17 十月 2025 14:58:26 +0800
Subject: [PATCH] feat: 1.2.0.1
---
src/constants/module.ts | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/constants/module.ts b/src/constants/module.ts
index 798ceca..52a669d 100644
--- a/src/constants/module.ts
+++ b/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,
},
-];
+]);
--
Gitblit v1.9.1