1.2.0 • Published 6 months ago

@tinyuploader/vuenext v1.2.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

Quick Start

安装

npm i @tinyuploader/vuenext -S

使用

// main.js
import { createApp } from 'vue'
import App from './App.vue'
import Uploader from '@tinyuploader/vuenext'
import '@tinyuploader/vuenext/dist/style.css'

const app = createApp(App)

app.use(Uploader)
app.mount('#app')
// App.vue
<template>
  <div>
    <Uploader :fileList="fileList" ref="uploaderRef" />
  </div>
</template>

<script setup>
import { ref } from 'vue'

const uploaderRef = ref()
const fileList = ref([{ name: '哈哈', path: 'https://baidu.com' }])

const clear = () => {
  uploaderRef.value.clear()
}

const submit = () => {
  uploaderRef.value.submit()
}
</script>

属性、方法用法参考@tinyuploader/vue

更新日志

1.2.0

6 months ago

1.2.0-beta

12 months ago

1.1.5

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago