From c0164da78bfe1e9e884b902ffa9727138b80aade Mon Sep 17 00:00:00 2001 From: u2nyakim Date: Thu, 28 Aug 2025 16:08:21 +0800 Subject: [PATCH] =?UTF-8?q?up.=20=E4=BF=AE=E5=A4=8D=E5=B1=82=E7=BA=A7?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E5=8F=96=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- z_ele/src/enum/config-item-type.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/z_ele/src/enum/config-item-type.ts b/z_ele/src/enum/config-item-type.ts index ec2a015..f7f3e1a 100644 --- a/z_ele/src/enum/config-item-type.ts +++ b/z_ele/src/enum/config-item-type.ts @@ -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 = { @@ -46,7 +48,9 @@ export const ItemLabels: Record = { [ItemType.DATE_RANGE]: '日期范围', [ItemType.DATETIME_RANGE]: '日期时间范围', [ItemType.TIME_RANGE]: '时间范围', - [ItemType.NUMBER]: '数字' + [ItemType.NUMBER]: '数字', + [ItemType.ARRAY]: '数组', + [ItemType.OPTION]: '配置项', }; export function getItemLabel(type: ItemType): string {