mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
593 B
30 lines
593 B
<template>
|
|
<base-modal
|
|
text="Upload"
|
|
:is-create="true"
|
|
>
|
|
<template v-slot="slotProps">
|
|
<document-upload-form
|
|
:upload-document="uploadDocument"
|
|
@close="slotProps.close"
|
|
/>
|
|
</template>
|
|
</base-modal>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapActions } from 'vuex'
|
|
import BaseModal from '@/components/molecules/BaseModal'
|
|
import DocumentUploadForm from '@/components/organisms/DocumentUploadForm'
|
|
|
|
export default {
|
|
components: {
|
|
BaseModal,
|
|
DocumentUploadForm
|
|
},
|
|
|
|
methods: {
|
|
...mapActions('documents', ['uploadDocument'])
|
|
}
|
|
}
|
|
</script>
|