forked from opentiny/tiny-vue
14 lines
339 B
Vue
14 lines
339 B
Vue
<template>
|
|
<tiny-pop-upload :action="action" upload-name="inputName" :data="requestData"></tiny-pop-upload>
|
|
</template>
|
|
|
|
<script setup lang="jsx">
|
|
import { ref } from 'vue'
|
|
import { PopUpload as TinyPopUpload } from '@opentiny/vue'
|
|
|
|
const action = ref('http://localhost:3000/api/upload')
|
|
const requestData = ref({
|
|
id: 123
|
|
})
|
|
</script>
|