naive-ui/demo/documentation/components/upload/enUS/basic.demo.md
2020-10-22 13:49:51 +08:00

232 B

Basic

<n-upload
  action="http://www.mocky.io/v2/5e4bafc63100007100d8b70f"
  :headers="{
    'naive-info': 'hello!'
  }"
  :data="{
    'naive-data': 'cool! naive!'
  }"
>
  <n-button>Upload File</n-button>
</n-upload>