| | |
| | | <template> |
| | | <BaseDialog |
| | | title="查看" |
| | | :title="_t('查看')" |
| | | v-model="visible" |
| | | width="50%" |
| | | :append-to-body="true" |
| | | @close="visible = false" |
| | | @confirm="onConfirm" |
| | | > |
| | |
| | | <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 |
| | |
| | | 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({ |