二期:预约列表开发
This commit is contained in:
parent
1c1ec2be71
commit
e5845a6714
|
@ -225,7 +225,7 @@ export default {
|
|||
})
|
||||
ipcRenderer.once('download-file-default' + fileName, (e, isSuccess) => {
|
||||
if (isSuccess === true) {
|
||||
resolve(appRootFilePath + fileName)
|
||||
resolve(fileName)
|
||||
} else {
|
||||
ElMessage({
|
||||
type: 'info',
|
||||
|
@ -234,7 +234,7 @@ export default {
|
|||
}
|
||||
})
|
||||
} else {
|
||||
resolve(appRootFilePath + fileName)
|
||||
resolve(fileName)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
@ -538,8 +538,6 @@ export default {
|
|||
const toolStore = useToolState()
|
||||
if (toolStore.isPdfWin) return this.$message.error('您当前已打开课本,请勿重复操作')
|
||||
let path = await this.getBookPathFromServer()
|
||||
path=path.replace(/^.*[\\\/]/, '');
|
||||
// console.log(this.uploadData.textbookId)
|
||||
createWindow('open-PDF', { url: '/classBegins/index?textbookId='+this.uploadData.textbookId+'&path='+ path })
|
||||
},
|
||||
// 上课-工具类悬浮
|
||||
|
|
Loading…
Reference in New Issue