<template>
  <div class="demo-upload-custome">
    <ui-upload
      :url="url"
      :multiple="true">
      <ui-icon
        slot="trigger"
        size="24px"
        class="mm-upload-custome-trigger"
        name="upload"></ui-icon>
    </ui-upload>
  </div>
</template>

<script>
import { Upload, Icon } from "amumu-ui"

export default {
  components: {
    "ui-upload": Upload,
    "ui-icon": Icon,
  },
  data() {
    return {
      url: "https://jsonplaceholder.typicode.com/posts/",
    }
  },
}
</script>

<style lang="scss">
.mm-upload-custome-trigger {
  cursor: pointer;
}
</style>
