更改地址
This commit is contained in:
parent
c56039270c
commit
a8f9c828d7
|
@ -107,7 +107,8 @@ const switchPageMode = () => {
|
|||
}
|
||||
onMounted(async () => {
|
||||
toolState.isPdfWin=true
|
||||
console.log(toolState.showBoardAll,"c初始")
|
||||
console.log(route.query.path,"c初始")
|
||||
pdfObj.pdfUrl = route.query.path
|
||||
textbookId.value = route.query.textbookId
|
||||
pdfObj.bookId=textbookId.value
|
||||
getBookMarkById(textbookId.value).then(res=>{
|
||||
|
|
|
@ -537,10 +537,10 @@ export default {
|
|||
async navtoPdf() {
|
||||
const toolStore = useToolState()
|
||||
if (toolStore.isPdfWin) return this.$message.error('您当前已打开课本,请勿重复操作')
|
||||
// let path = await this.getBookPathFromServer()
|
||||
// console.log(path)
|
||||
let path = await this.getBookPathFromServer()
|
||||
console.log(path)
|
||||
// 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+'&path='+ path })
|
||||
},
|
||||
// 上课-工具类悬浮
|
||||
openLesson() {
|
||||
|
|
Loading…
Reference in New Issue