From 10e01aa71d494ece26214bd57017e045f13b2a08 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 06 八月 2025 09:12:34 +0800
Subject: [PATCH] fix: 修改功能模块

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