Skip to content

registerNode 如何动态控制是否显示相关元素? #2476

Answered by world56
world56 asked this question in Q&A
Discussion options

You must be logged in to vote

找到修改的方法了,找了Issues、Discussions、官方文档半天没找到,看原型链试出来了。🤡

例:
const { height, width } = node.store.get("size");
node.store.set("size", { height: height - 36, width });

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@zmcode
Comment options

@world56
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by world56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants