<template>
  <div>
    <el-upload
      accept=".png,.jpg,.jpeg"
      :images-list="images"
      class="upload"
      drag
      action="#"
      v-bind="$attrs"
    >
      <slot />
    </el-upload>
  </div>
</template>

<script setup lang="ts">
  const images = ref()
</script>

<style scoped lang="less">
  .upload-text {
    color: #3f794f;
    width: 400px;
    display: flex;
    line-height: 20px;
    text-align: left;
  }
</style>
