feat(Overlay): add default slot (#4571)

This commit is contained in:
neverland
2019-09-25 14:50:48 +08:00
committed by GitHub
parent d2f6185934
commit 0fe9874379
6 changed files with 32 additions and 23 deletions
+1 -4
View File
@@ -8,10 +8,7 @@
@click="show = true"
/>
<van-overlay
:show="show"
@click="show = false"
/>
<van-overlay :show="show" @click="show = false" />
</demo-block>
</demo-section>
</template>