parent
ad4558fba3
commit
8607307e17
2 changed files with 4 additions and 2 deletions
|
@ -967,7 +967,9 @@
|
|||
|
||||
this.$on('on-visible-change', (val) => {
|
||||
if (val) {
|
||||
this.handleResize();
|
||||
this.$nextTick(()=>{
|
||||
this.handleResize();
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="prefixCls" v-if="show" :style="contentStyle"><slot></slot></div>
|
||||
<div :class="prefixCls" v-show="show" :style="contentStyle"><slot></slot></div>
|
||||
</template>
|
||||
<script>
|
||||
const prefixCls = 'ivu-tabs-tabpane';
|
||||
|
|
Loading…
Add table
Reference in a new issue