fix: baseUrl, condition
This commit is contained in:
parent
6942d5af64
commit
893b0a8c2a
2 changed files with 4 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ function change(e: Event) {
|
|||
currentIndex.value = file.value.length;
|
||||
|
||||
if (_file) {
|
||||
currentIndex.value = file.length + 1;
|
||||
currentIndex.value = file.value.length + 1;
|
||||
const reader = new FileReader();
|
||||
reader.readAsDataURL(_file);
|
||||
reader.onload = () => {
|
||||
|
|
@ -248,7 +248,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
|
|||
class="bordered row items-center justify-between q-pa-sm"
|
||||
style="height: 50px"
|
||||
>
|
||||
{{ $t(currentMode) }}
|
||||
{{ currentMode && $t(currentMode) }}
|
||||
<div class="row" v-if="!hideAction">
|
||||
<UndoButton icon-only type="button" />
|
||||
<SaveButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue