-
Beta Was this translation helpful? Give feedback.
Answered by
world56
Aug 9, 2022
Replies: 2 comments 2 replies
-
有没有类似回调函数的方法?每次render前获取参数进行判断是否显示? |
Beta Was this translation helpful? Give feedback.
2 replies
-
找到修改的方法了,找了Issues、Discussions、官方文档半天没找到,看原型链试出来了。🤡 例: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
world56
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找到修改的方法了,找了Issues、Discussions、官方文档半天没找到,看原型链试出来了。🤡
例:
const { height, width } = node.store.get("size");
node.store.set("size", { height: height - 36, width });