mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
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.
26 lines
453 B
26 lines
453 B
<template>
|
|
<v-card>
|
|
<v-card-title>
|
|
Export
|
|
</v-card-title>
|
|
<v-card-text>
|
|
<a :href="url" download="docs.json">Download</a>
|
|
</v-card-text>
|
|
</v-card>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
layout: 'project',
|
|
computed: {
|
|
url() {
|
|
const projectId = this.$route.params.id
|
|
return `/v1/projects/${projectId}/docs/download`
|
|
}
|
|
},
|
|
|
|
validate({ params }) {
|
|
return /^\d+$/.test(params.id)
|
|
}
|
|
}
|
|
</script>
|