16 lines
263 B
Vue
16 lines
263 B
Vue
|
<script lang="ts">
|
||
|
export default {
|
||
|
computed: {
|
||
|
topicId() {
|
||
|
return this.$route.params.id
|
||
|
},
|
||
|
topic() {
|
||
|
this.papers?.find( (paper: any) => paper.reference == this.topicId )
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
{{ $route.name }}
|
||
|
</template>
|