From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 30 4月 2025 16:24:16 +0800 Subject: [PATCH] 222 --- PipeLineLems/web/src/components/Pdf/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PipeLineLems/web/src/components/Pdf/index.vue b/PipeLineLems/web/src/components/Pdf/index.vue index 2ee0576..a53bd6b 100644 --- a/PipeLineLems/web/src/components/Pdf/index.vue +++ b/PipeLineLems/web/src/components/Pdf/index.vue @@ -1,8 +1,9 @@ <template> <BaseDialog - title="鏌ョ湅" + :title="_t('鏌ョ湅')" v-model="visible" width="50%" + :append-to-body="true" @close="visible = false" @confirm="onConfirm" > @@ -17,6 +18,7 @@ <script lang="ts" setup> import { computed, onMounted, ref } from 'vue' import BaseDialog from '@/components/BaseDialog/index.vue' +import { _t } from '@/libs/Language/Language' const props = defineProps<{ modelValue: boolean @@ -26,7 +28,7 @@ const emit = defineEmits(['update:modelValue']) const pdfSrc = computed(() => { - return props.pdfSrc + return props.pdfSrc + '#navpanes=0&toolbar=0&statusbar=0&view=Fit' }) const visible = computed({ -- Gitblit v1.9.3