组件是怎么传递一个对象作为 prop的? #25
Unanswered
Linya-IronMan
asked this question in
Q&A
Replies: 1 comment
-
框架内部会根据Prop中定义的数据类型做转换的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
应该怎么传递一个对象作为webcomponent 组件的 prop?
DOM 的 attr 只能传递字符串,@prop 会不会对json字符串自动 parse ?
Beta Was this translation helpful? Give feedback.
All reactions