refs #6940 fix: use onMounted
This commit is contained in:
parent
99bb04bb0f
commit
d863248177
|
@ -1,5 +1,5 @@
|
|||
<script setup>
|
||||
import { computed, ref } from 'vue';
|
||||
import { computed, ref, onMounted } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Notify } from 'quasar';
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
|
@ -89,6 +89,8 @@ function downloadPdfs() {
|
|||
// prettier-ignore
|
||||
return window.open(`${getApiUrl()}/api/Routes/downloadCmrsZip?ids=${cmrs.join(',')}&access_token=${token}`);
|
||||
}
|
||||
|
||||
onMounted(()=>{if(!stateStore.isRightDrawerShown())stateStore.toggleRightDrawer()})
|
||||
</script>
|
||||
<template>
|
||||
<div class="column items-center">
|
||||
|
|
Loading…
Reference in New Issue