<template>
  <div v-show="isShow" style="text-align: center; padding-top: 16px;" title="暂无数据">
    <i class="iconfont icon-ziyuan" :style="{'font-size': `${size}px`}"></i>
  </div>
</template>

<script>
import {isEmpty} from "lodash";

export default {
  name: "FpEmpty",
  props: {
    size: {
      default: 40
    },
    data: {
      type: [Boolean, Object, Array, String],
      default: true
    }
  },
  computed: {
    isShow() {
      return isEmpty(this.data);
    }
  }
}
</script>

<style scoped>

</style>