222
schangxiang@126.com
2025-04-30 9bec4dcae002f36aa23231da11cb03a156b40110
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({