重复打开课本

This commit is contained in:
zhangxuelin 2024-08-07 16:08:54 +08:00
parent d12b5bb29f
commit 2a78cb40dc
1 changed files with 2 additions and 0 deletions

View File

@ -491,6 +491,8 @@ export default {
// PDF- // PDF-
async navtoPdf() { async navtoPdf() {
const toolStore = useToolState()
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)