mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[improvement] Use scoped-slots in Vue 2.6+ (#2688)
This commit is contained in:
@@ -32,7 +32,7 @@ export default sfc({
|
||||
[`justify-${justify}`]: flex && justify
|
||||
})}
|
||||
>
|
||||
{this.$slots.default}
|
||||
{this.slots()}
|
||||
</this.tag>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user