From 5da80d6008b6dac7cc7a28b12a021561a0af8e32 Mon Sep 17 00:00:00 2001 From: what Date: Mon, 26 Feb 2024 22:34:06 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E8=B0=83=E6=95=B4=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=20layout=20->=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/data_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/data_list.go b/base/data_list.go index e57647e..b5897f1 100644 --- a/base/data_list.go +++ b/base/data_list.go @@ -22,7 +22,6 @@ type DataList struct { Name string `db:"name"` // 列表名称 Title string `db:"title"` // 布局标题 PrimaryKey string `db:"primaryKey"` // 主键标识 - Layout string `db:"layout"` // 主键标识 IsOperationColumn bool `db:"isOperationColumn"` // 是否显示操作栏,1是,0否 OperationColumnWidth int `db:"operationColumnWidth"` // 操作列宽度 IsPaginate bool `db:"isPaginate"` // 是否分页 @@ -48,9 +47,10 @@ type DataList struct { ApprovalConfig [][2]any `db:"approvalConfig"` // 审批设置 UniqueImportFields []string `db:"uniqueImportFields"` // 导入字段唯一效验 IsGridLayout bool `db:"isGridLayout"` // 自定义布局 + Theme string `db:"theme"` // 主键标识 + ThemeConfig map[string]any `db:"themeConfig"` // 列表布局配置 Roles []string `db:"roles"` // 列表权限 IsAuthDB int `db:"is_auth_db"` // 启用权限过滤 - LayoutConfig map[string]any `db:"layoutConfig"` // 列表布局配置 Platform string `db:"platform"` UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"`