From 9c207e74d7e3547d676dcc11e10240fd0a111b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Wed, 13 Aug 2025 21:16:49 +0800 Subject: [PATCH] modify interface sdk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 Change-Id: Iaf131363fdb20a1146f116e6cce767824e939cb4 --- api/@internal/component/ets/text_common.d.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index a08a7c4483..5c12670995 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -159,23 +159,14 @@ declare interface TextDataDetectorConfig { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 11 */ - /** - * Text data detect result callback. - * - * @type { ?function } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice - * @since 12 - */ - onDetectResultUpdate?: (result: string) => void /** * Text data detect result callback. * * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 - * @arkts 1.2 + * @since arkts {'1.1':'12','1.2':'20'} + * @arkts 1.1&1.2 */ onDetectResultUpdate?: Callback /** @@ -2361,4 +2352,4 @@ declare interface TextLayoutOptions { * @since 20 */ constraintWidth?: LengthMetrics; -} \ No newline at end of file +} -- Gitee