From c9a5ec8359235482c7b0789354fe2b542147fc65 Mon Sep 17 00:00:00 2001 From: kelinyang Date: Sat, 3 May 2025 20:12:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?displaySync=E5=92=8CdisplaySoloist=E8=B5=84?= =?UTF-8?q?=E6=96=99=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DisplaySoloist/entry/src/main/ets/pages/Index.ets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets b/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets index 118ba0102d..7f71e4a843 100644 --- a/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets +++ b/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets @@ -84,7 +84,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId30', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId30', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext1 = xComponentContext as XComponentContext; }).width('640px') @@ -110,7 +110,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId60', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId60', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext2 = xComponentContext as XComponentContext; }).width('640px') @@ -136,7 +136,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId120', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId120', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext3 = xComponentContext as XComponentContext; }).width('640px') -- Gitee From 52c445cec3d3508cd767e87751ebe2493c5b9f98 Mon Sep 17 00:00:00 2001 From: kelinyang Date: Sat, 3 May 2025 20:19:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?displaySync=E5=92=8CdisplaySoloist=E8=B5=84?= =?UTF-8?q?=E6=96=99=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kelinyang --- .../DisplaySoloist/entry/src/main/ets/pages/Index.ets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets b/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets index 118ba0102d..7f71e4a843 100644 --- a/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets +++ b/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/ets/pages/Index.ets @@ -84,7 +84,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId30', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId30', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext1 = xComponentContext as XComponentContext; }).width('640px') @@ -110,7 +110,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId60', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId60', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext2 = xComponentContext as XComponentContext; }).width('640px') @@ -136,7 +136,7 @@ struct Index { } }).margin(4) - XComponent({ id: 'xcomponentId120', type: 'surface', libraryname: 'entry' }) + XComponent({ id: 'xcomponentId120', type: XComponentType.SURFACE, libraryname: 'entry' }) .onLoad((xComponentContext) => { this.xComponentContext3 = xComponentContext as XComponentContext; }).width('640px') -- Gitee