HarmonyOS 组件的Rect Width是0?

使用UIContext.getComponentUtils().getRectangleByld获取组件的信息,在刷新后获取到的组件Rect Width是0,这个是什么原因

阅读 515
1 个回答

通过ClickEvent中的target属性获取组件宽高和位置信息