本地测试
This commit is contained in:
parent
d7ecb2d547
commit
b2b95db8fb
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue