added addview and download PDF
This commit is contained in:
@ -22,7 +22,7 @@ function format(date){
|
||||
}
|
||||
|
||||
|
||||
const emit = defineEmits(["modal-close"]);
|
||||
const emit = defineEmits(["downloadPdf","downloadBibTex"]);
|
||||
|
||||
const target = ref(null)
|
||||
onClickOutside(target, ()=>emit('modal-close'))
|
||||
@ -43,11 +43,12 @@ onClickOutside(target, ()=>emit('modal-close'))
|
||||
<li>PaperType : {{article.paperType}}</li>
|
||||
<li>Domain : {{article.domain}}</li>
|
||||
<li>Access : {{article.access}}</li>
|
||||
|
||||
</ul>
|
||||
<div id="downloads" v-if="article.pdfLocation !== null">
|
||||
<button @click.stop="emit('modal-close')">Download BibTex</button>
|
||||
<button @click.stop="emit('modal-close')">Download Research</button>
|
||||
<button @click.stop="emit('downloadBibTex')">Download BibTex</button>
|
||||
<form method="get" :action=article.pdfLocation>
|
||||
<button @click.stop="emit('downloadPdf', article)">Download Research</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user