根据提供的代码,初始时未传入数据导致的,建议在ListData.ets的aboutToappear生命周期中传入初始值。具体内容请参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/arkts-rendering-control-lazyforeach-V5\#首次渲染
根据提供的代码,初始时未传入数据导致的,建议在ListData.ets的aboutToappear生命周期中传入初始值。具体内容请参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/arkts-rendering-control-lazyforeach-V5\#首次渲染