From 792736320173ad27a8f3b444149ebdbe9dc00176 Mon Sep 17 00:00:00 2001 From: zsmj Date: Wed, 21 Sep 2022 11:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20=20=E7=B1=BB=E5=9E=8B=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/single/label/abstract.label.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/base/single/label/abstract.label.ts b/typescript/base/single/label/abstract.label.ts index 431d79ab6..60d6ee8fc 100644 --- a/typescript/base/single/label/abstract.label.ts +++ b/typescript/base/single/label/abstract.label.ts @@ -10,7 +10,7 @@ export declare class AbstractLabel extends Single { textHeight?: number | null; highLight?: boolean; handler?: Function | null; - text?: string; + text?: string | ((context: any) => string); } & Single['props'] doRedMark(...args: any[]): void;