From 8514d1b282df903061ddd612c15adf969c422cdf Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 04 5月 2025 10:17:07 +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