From 8cedd43a1826fbee2d5177826f4b62159e0b247c Mon Sep 17 00:00:00 2001 From: huangdong57 Date: Mon, 12 Jun 2023 11:57:02 +0800 Subject: [PATCH] update bindPopup Signed-off-by: huangdong57 --- .../src/main/ets/TestAbility/pages/bindPopupOffset.ets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/bindPopupOffset.ets b/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/bindPopupOffset.ets index 81a7c699d..0b34de447 100644 --- a/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/bindPopupOffset.ets +++ b/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/bindPopupOffset.ets @@ -28,11 +28,11 @@ struct bindPopupOffset { @State customPopup02: boolean = false @State customPopup03: boolean = false @State customPopup04: boolean = false - @State offset: any = { x: 10, y:10 } - @State offset10: any = { x:-10, y:-10} - @State offset00: any = { x: 0, y:0 } - @State offset050: any = { x: 0, y:50 } - @State offsetnull: any = null + @State offset: Object = { x: 10, y:10 } + @State offset10: Object = { x:-10, y:-10} + @State offset00: Object = { x: 0, y:0 } + @State offset050: Object = { x: 0, y:50 } + @State offsetnull: Object = null @Builder popupBuilder() { Row({ space: 2 }) { -- GitLab