怎么可以扩展Vant组件?
#7724
Replies: 1 comment
-
|
Hello |
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
Uh oh!
There was an error while loading. Please reload this page.
-
我想创建基于Vant的自定义组件,例如Contact-Card,现在只有名字和电话能显示,我想扩展到可以展示地址,或者更复杂的东西。我试用extends/mixin,但是发现render function都会完全覆盖Vant里本身的,lifescycle方法例如mounted完全用不了。请求帮助。
Beta Was this translation helpful? Give feedback.
All reactions