This commit is contained in:
zhangxuelin 2024-08-07 16:10:34 +08:00
parent 2a78cb40dc
commit 4687d62b90
1 changed files with 1 additions and 1 deletions

View File

@ -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 })