From 2794b4c6e4d2a4faa9383468c74f9e13905b76f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=80=E5=8D=89?= Date: Fri, 12 Sep 2025 15:00:07 +0800 Subject: [PATCH] fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ηŽ‹δΈ€ε‰ --- .../UIConsistency/MenuFont/FontColor/contentFontColor_01.ets | 1 - .../UIConsistency/MenuFont/FontColor/contentFontColor_02.ets | 1 - .../UIConsistency/MenuFont/FontColor/contentFontColor_03.ets | 1 - .../UIConsistency/MenuFont/FontColor/contentFontColor_04.ets | 1 - .../UIConsistency/MenuFont/FontSize/contentFontSize_10.ets | 1 - .../UIConsistency/MenuFont/FontSize/contentFontSize_20.ets | 1 - .../UIConsistency/MenuFont/FontSize/contentFontSize_30.ets | 1 - .../UIConsistency/MenuFont/FontSize/labelFontSize_10.ets | 1 - .../UIConsistency/MenuFont/FontSize/labelFontSize_20.ets | 1 - .../UIConsistency/MenuFont/FontSize/labelFontSize_30.ets | 1 - .../UIConsistency/MenuFont/FontWeight/contentFontWeight_Bold.ets | 1 - .../MenuFont/FontWeight/contentFontWeight_Bolder.ets | 1 - .../MenuFont/FontWeight/contentFontWeight_Lighter.ets | 1 - .../MenuFont/FontWeight/contentFontWeight_Medium.ets | 1 - .../MenuFont/FontWeight/contentFontWeight_Normal.ets | 1 - .../MenuFont/FontWeight/contentFontWeight_Regular.ets | 1 - .../UIConsistency/MenuFont/FontWeight/labelFontWeight_Bold.ets | 1 - .../UIConsistency/MenuFont/FontWeight/labelFontWeight_Bolder.ets | 1 - .../MenuFont/FontWeight/labelFontWeight_Lighter.ets | 1 - .../UIConsistency/MenuFont/FontWeight/labelFontWeight_Medium.ets | 1 - .../UIConsistency/MenuFont/FontWeight/labelFontWeight_Normal.ets | 1 - .../MenuFont/FontWeight/labelFontWeight_Regular.ets | 1 - 22 files changed, 22 deletions(-) diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_01.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_01.ets index fc21d4f50dd..141f8cbeba0 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_01.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_01.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_FontColor_01 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_02.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_02.ets index cb10b55cb7d..ff185b9aa20 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_02.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_02.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_FontColor_02 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_03.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_03.ets index d7e68eb8629..9eefd18ee44 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_03.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_03.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_FontColor_03 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_04.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_04.ets index b89461dfb46..9bf618737b9 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_04.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontColor/contentFontColor_04.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_FontColor_04 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_10.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_10.ets index 942102e49db..9edb987c1e7 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_10.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_10.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontSize_10 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_20.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_20.ets index d55766dc29a..65b20933c4b 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_20.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_20.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontSize_20 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_30.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_30.ets index afc88b53f94..b3cceaa8fae 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_30.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/contentFontSize_30.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontSize_30 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_10.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_10.ets index 2bc49bf5f74..6004cb752c5 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_10.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_10.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontSize_10 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_20.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_20.ets index e447733c804..e0edf99dc79 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_20.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_20.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontSize_20 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_30.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_30.ets index 0f8d895294d..8e147eee91e 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_30.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontSize/labelFontSize_30.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontSize_30 { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bold.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bold.ets index 7f45217f1d2..4b5b160a2c1 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bold.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bold.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Bold { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bolder.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bolder.ets index e55d3c7fc53..6a1a209f8fe 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bolder.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Bolder.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Bolder { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Lighter.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Lighter.ets index 593b48a6a64..53c28cc3fa5 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Lighter.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Lighter.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Lighter { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Medium.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Medium.ets index bb5351711c8..08d55c20152 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Medium.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Medium.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Medium { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Normal.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Normal.ets index e57a64a0cdb..658f7022b66 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Normal.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Normal.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Normal { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Regular.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Regular.ets index b5de68c49c9..3cb1762f5ff 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Regular.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/contentFontWeight_Regular.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_ContentFontWeight_Regular { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bold.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bold.ets index e481613cb1e..acf923986a8 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bold.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bold.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Bold { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bolder.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bolder.ets index 72316a85c99..100ff52263a 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bolder.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Bolder.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Bolder { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Lighter.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Lighter.ets index d600cdb655d..b8811428388 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Lighter.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Lighter.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Lighter { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Medium.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Medium.ets index e5ee4bbb5dc..85594090ea3 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Medium.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Medium.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Medium { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Normal.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Normal.ets index 1978f6040a4..e64ef458543 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Normal.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Normal.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Normal { diff --git a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Regular.ets b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Regular.ets index 77213e1ad00..948301ed19a 100644 --- a/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Regular.ets +++ b/examples/Menu/entry/src/main/ets/pages/BindContextMenu/bindContextMenus/UIConsistency/MenuFont/FontWeight/labelFontWeight_Regular.ets @@ -1,4 +1,3 @@ -import { Size } from '@ohos/hypium' @Entry @Component struct MenuFont_LabelFontWeight_Regular { -- Gitee