<template>
  <el-empty :description="description" :image="emptyImage" />
</template>

<script setup lang="ts">
import { ref } from "vue";
import EmptyImageSvg from "@/assets/icons/zanwusuju.svg";
defineProps({
  description: {
    type: String,
    default: "暂无数据",
  },
});
const emptyImage = ref(EmptyImageSvg);
</script>
<style lang="scss" scoped>
:deep(.el-empty__description) {
  p {
    font-size: $f20;
  }
}
</style>
