@@ -13,7 +13,7 @@
/>
<Transition :name="transitionName" @after-enter="onOpened" @after-leave="onClosed">
<view v-show="visible" :class="classes" :style="popStyle" @click="onClick">
- <slot v-if="showSlot"></slot>
+ <div v-show="showSlot"><slot></slot></div>
<view
v-if="closed"
@click="onClickCloseIcon"
@@ -36,7 +36,7 @@
"author": "",
"dependencies": {
"@babel/runtime": "^7.7.7",
- "@nutui/nutui-taro": "^3.0.2",
+ "@nutui/nutui-taro": "^3.1.18",
"@tarojs/components": "^3.4.0",
"@tarojs/mini-runner": "^3.4.0",
"@tarojs/runtime": "^3.4.0",