up. 修复层级下的取值问题
This commit is contained in:
parent
20586ad694
commit
c0164da78b
@ -22,7 +22,9 @@ export enum ItemType {
|
||||
DATE_RANGE = 'date_range',
|
||||
DATETIME_RANGE = 'datetime_range',
|
||||
TIME_RANGE = 'time_range',
|
||||
NUMBER = 'number'
|
||||
NUMBER = 'number',
|
||||
ARRAY = 'array',
|
||||
OPTION = 'option'
|
||||
}
|
||||
|
||||
export const ItemLabels: Record<ItemType, string> = {
|
||||
@ -46,7 +48,9 @@ export const ItemLabels: Record<ItemType, string> = {
|
||||
[ItemType.DATE_RANGE]: '日期范围',
|
||||
[ItemType.DATETIME_RANGE]: '日期时间范围',
|
||||
[ItemType.TIME_RANGE]: '时间范围',
|
||||
[ItemType.NUMBER]: '数字'
|
||||
[ItemType.NUMBER]: '数字',
|
||||
[ItemType.ARRAY]: '数组',
|
||||
[ItemType.OPTION]: '配置项',
|
||||
};
|
||||
|
||||
export function getItemLabel(type: ItemType): string {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user