This commit is contained in:
parent
2a78cb40dc
commit
4687d62b90
|
@ -493,7 +493,7 @@ export default {
|
||||||
async navtoPdf() {
|
async navtoPdf() {
|
||||||
const toolStore = useToolState()
|
const toolStore = useToolState()
|
||||||
if (toolStore.isPdfWin) return this.$message.error('您当前已打开课本,请勿重复操作')
|
if (toolStore.isPdfWin) return this.$message.error('您当前已打开课本,请勿重复操作')
|
||||||
let path = await this.getBookPathFromServer()
|
// let path = await this.getBookPathFromServer()
|
||||||
// console.log(path)
|
// console.log(path)
|
||||||
// console.log(this.uploadData.textbookId)
|
// console.log(this.uploadData.textbookId)
|
||||||
createWindow('open-PDF', { url: '/classBegins/index?textbookId='+this.uploadData.textbookId })
|
createWindow('open-PDF', { url: '/classBegins/index?textbookId='+this.uploadData.textbookId })
|
||||||
|
|
Loading…
Reference in New Issue