mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 01:04:21 +01:00
🎨 Attribute View number column format https://github.com/siyuan-note/siyuan/issues/8764
This commit is contained in:
parent
2baa74fb39
commit
d5bceca2a4
4 changed files with 18 additions and 12 deletions
|
|
@ -76,7 +76,8 @@ type Key struct {
|
|||
|
||||
// 以下是某些列类型的特有属性
|
||||
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
NumberFormat NumberFormat `json:"numberFormat"` // 列数字格式化
|
||||
}
|
||||
|
||||
func NewKey(id, name string, keyType KeyType) *Key {
|
||||
|
|
|
|||
|
|
@ -353,7 +353,8 @@ type TableColumn struct {
|
|||
|
||||
// 以下是某些列类型的特有属性
|
||||
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
NumberFormat NumberFormat `json:"numberFormat"` // 列数字格式化
|
||||
}
|
||||
|
||||
type TableRow struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue