From 5c45efbcbe6e5ef0df3978909360678765af32b4 Mon Sep 17 00:00:00 2001 From: yang Date: Sat, 22 Feb 2025 16:32:57 +0800 Subject: [PATCH] =?UTF-8?q?icu4j=E5=BA=93=E4=BF=AE=E6=94=B9=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=9E=84=E5=BB=BAwarning=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang --- icu4j/entry/src/main/ets/pages/Index.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4j/entry/src/main/ets/pages/Index.ets b/icu4j/entry/src/main/ets/pages/Index.ets index d9b68b81..cedb572c 100644 --- a/icu4j/entry/src/main/ets/pages/Index.ets +++ b/icu4j/entry/src/main/ets/pages/Index.ets @@ -81,7 +81,7 @@ struct Index { }) Button($r('app.string.isSelectElement')).fontSize(24).onClick(() => { let input: intl_messageformat_parser.SelectElement = { - type: intl_messageformat_parser.TYPE.select, value: 'testValue', options: {} as ESObject + type: intl_messageformat_parser.TYPE.select, value: 'testValue', options: {} }; let typesResult: boolean = intl_messageformat_parser.isSelectElement(input); if (typesResult) { @@ -92,7 +92,7 @@ struct Index { let input: intl_messageformat_parser.PluralElement = { type: intl_messageformat_parser.TYPE.plural, value: 'testValue', - options: {} as ESObject, + options: {}, offset: 0, pluralType: undefined }; -- Gitee