Commit 0c69d1b6 authored by yun's avatar yun

修改loading问题

parent 3330ac2f
......@@ -1232,7 +1232,9 @@ export default {
onPdfLoaded(pages) {
this.loadPdf = true
this.allPage = pages
this.loading = false
setTimeout(() => {
this.loading = false
}, 1000)
const progress = this.currentSection.progress && parseInt(Number(this.currentSection.progress.split('%')[0])) >= 100,
valueZero = this.course.valueGain === '0' || this.course.valueGain === ''
if (progress || valueZero || this.isOutLine) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment