<template>
  <div class="drip-swiper-item"><slot></slot></div>
</template>
<script>
import create from '../utils/create'
export default create({
  name: 'swiper-item',
  mounted () {
    this.$nextTick(() => {
      this.$parent.rerender()
    })
  },
  beforeDestroy () {
    const $parent = this.$parent
    this.$nextTick(() => {
      $parent.rerender()
    })
  }
})
</script>
