跳到主要内容

Custom field type

通过定义proxima:FieldType,可以创建team的自定义字段类型。创建后的自定义字段类型可以被应用的自定义字段引用。

Manifest示例

modules:
proxima:FieldType:
- key: custom-field-type
name: 自定义字段类型
description: 这是一个自定义字段类型
type: Custom
dataType: array
resource: field-type-resource
resources:
- key: field-type-resource
path: ./field-type

属性

属性类型是否必填说明
keyStringYes自定义字段类型的key,可以被proxima:CustomField中的fieldType引用。在Manifest文件中必须是唯一的。
规则: ^[a-zA-Z0-9_-]+$
nameStringYes自定义字段类型名称
descriptionStringNo自定义字段类型的说明
typeStringYes类型:默认Custom
dataTypeStringYes数据类型,array为数组
resourceStringYes指向静态资源的key

联系我们

邮箱:

client@oschina.cn

手机:

133-5294-7997

136-7025-2304

181-2418-5312

185-0387-0265

地址:

深圳市南山区西丽街道云科技大厦 22 楼

北京市昌平区回龙观东大街首开广场 5 层

在线咨询

image

关注我们

简体中文
Copyright ©2025 北京奥思研工智能科技有限公司京ICP备2025119063号