diff --git a/src/renderer/src/views/classBegins/index.vue b/src/renderer/src/views/classBegins/index.vue index 59a844f..dded189 100644 --- a/src/renderer/src/views/classBegins/index.vue +++ b/src/renderer/src/views/classBegins/index.vue @@ -40,7 +40,7 @@ const { ipcRenderer } = require('electron') // 传过去的参数 const pdfObj = reactive({ numberOfPdf: 2, //显示几页 - pdfUrl: '/aaa.pdf', //url + pdfUrl: 'aaa.pdf', //url numPages: 1 //当前页数 }) // 总条数 @@ -87,7 +87,7 @@ const switchPageMode = () => { pdfCanvaslist.value.initPdf('restone') } } -onMounted(async () => {}) +onMounted(async () => {console.log('测试: ', pdfObj)})