本地测试

This commit is contained in:
zdg 2024-07-29 10:18:15 +08:00
parent d7ecb2d547
commit b2b95db8fb
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ const { ipcRenderer } = require('electron')
// //
const pdfObj = reactive({ const pdfObj = reactive({
numberOfPdf: 2, // numberOfPdf: 2, //
pdfUrl: '/aaa.pdf', //url pdfUrl: 'aaa.pdf', //url
numPages: 1 // numPages: 1 //
}) })
// //
@ -87,7 +87,7 @@ const switchPageMode = () => {
pdfCanvaslist.value.initPdf('restone') pdfCanvaslist.value.initPdf('restone')
} }
} }
onMounted(async () => {}) onMounted(async () => {console.log('测试: ', pdfObj)})
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>