[improvement] Dialog: enable lazy-render (#2495)

This commit is contained in:
neverland
2019-01-11 21:22:41 +08:00
committed by GitHub
parent c65e21e586
commit 5e623c1e34
5 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<template>
<transition name="van-dialog-bounce">
<div
v-if="shouldRender"
v-show="value"
:class="[b(), className]"
>