zdg #82

Merged
zhengdegang merged 5 commits from zdg into main 2024-07-30 10:07:30 +08:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit d7ecb2d547 - Show all commits

View File

@ -36,7 +36,7 @@ import { ref, onMounted, watch, reactive } from 'vue'
import * as pdfjsLib from 'pdfjs-dist/legacy/build/pdf' import * as pdfjsLib from 'pdfjs-dist/legacy/build/pdf'
pdfjsLib.GlobalWorkerOptions.workerSrc = '/lib/build/pdf.worker.mjs' pdfjsLib.GlobalWorkerOptions.workerSrc = '/lib/build/pdf.worker.mjs'
import pdfCanvas from '@/components/pdf/index.vue' import pdfCanvas from '@/components/pdf/index.vue'
const { ipcRenderer } = window.electron || {} const { ipcRenderer } = require('electron')
// //
const pdfObj = reactive({ const pdfObj = reactive({
numberOfPdf: 2, // numberOfPdf: 2, //
@ -125,4 +125,4 @@ onMounted(async () => {})
} }
} }
} }
</style> </style>