<template>
  <div>
    <n-upload
      action="#"
      :default-file-list="fileList"
      list-type="image-card"
    >
      点击上传
    </n-upload>
    <n-modal
      v-model:show="showModal"
      preset="card"
      style="width: 600px"
      title="一张很酷的图片"
    >
      <img :src="previewImageUrl" style="width: 100%">
    </n-modal>
  </div>
</template>

<script>
export default {
  name: 'ImgUpload',
  props: {
    options: {
      type: Object,
      default: null
    }
  },
  setup() {

  }
}

</script>
<style scoped lang='scss'>
</style>
