zdg #82
|
@ -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)})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
Loading…
Reference in New Issue