This commit is contained in:
Daniel 2025-06-11 15:32:12 +08:00
parent b46100b29c
commit f575036b6e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 5 additions and 3 deletions

View file

@ -50,6 +50,7 @@ type BaseInstanceField struct {
Name string `json:"name"` // 字段名
Type KeyType `json:"type"` // 字段类型
Icon string `json:"icon"` // 字段图标
Wrap bool `json:"wrap"` // 是否换行
Hidden bool `json:"hidden"` // 是否隐藏
Desc string `json:"desc"` // 字段描述

View file

@ -73,6 +73,7 @@ const (
type ViewGalleryCardField struct {
ID string `json:"id"` // 字段 ID
Wrap bool `json:"wrap"` // 是否换行
Hidden bool `json:"hidden"` // 是否隐藏
Desc string `json:"desc,omitempty"` // 字段描述
}

View file

@ -67,7 +67,6 @@ type Table struct {
type TableColumn struct {
*BaseInstanceField
Wrap bool `json:"wrap"` // 是否换行
Pin bool `json:"pin"` // 是否固定
Width string `json:"width"` // 列宽度
Calc *ColumnCalc `json:"calc"` // 计算