-
请问如何给preRenderDatas添加自定义属性,比如ID。我想实现预加载点位数据,编辑后可以通过自定义的ID来修改远程数据。 |
Beta Was this translation helpful? Give feedback.
Answered by
zouyaoji
Aug 24, 2023
Replies: 1 comment
-
你好,现在更推荐给组件绑定ref,通过ref获取到给每个action的renderDatas来预添加数据。例如
自定义属性也可以一并加进去。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Qvod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,现在更推荐给组件绑定ref,通过ref获取到给每个action的renderDatas来预添加数据。例如
自定义属性也可以一并加进去。