onAreaChange(() =\> {})回调返回的globalPosition不是相对整个屏幕而言的,获取的是相对于父容器的位置,参考地址:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-component-area-change-event-V5
onAreaChange(() =\> {})回调返回的globalPosition不是相对整个屏幕而言的,获取的是相对于父容器的位置,参考地址:
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-component-area-change-event-V5