iview/examples/routers/upload.vue

18 lines
409 B
Vue
Raw Normal View History

<template>
2018-07-09 18:15:17 +08:00
<Upload
multiple
type="drag"
paste
action="//jsonplaceholder.typicode.com/posts/">
<div style="padding: 20px 0">
<Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
<p>Click or drag files here to upload</p>
2017-03-21 13:57:29 +08:00
</div>
2018-07-09 18:15:17 +08:00
</Upload>
</template>
<script>
export default {
2017-03-21 13:57:29 +08:00
2017-01-22 17:19:37 +08:00
}
</script>