mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
[Improvement] Actionsheet: support lazy render (#1365)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<transition name="van-slide-bottom">
|
||||
<div v-show="value" :class="b({ 'withtitle': title })">
|
||||
<div v-if="shouldRender" v-show="value" :class="b({ 'withtitle': title })">
|
||||
<div v-if="title" class="van-hairline--top-bottom" :class="b('header')">
|
||||
<div v-text="title" />
|
||||
<icon name="close" @click="onCancel" />
|
||||
|
Reference in New Issue
Block a user