perf: 打开office文件的加载动画
This commit is contained in:
parent
1f0bab5347
commit
1cb13b6ff1
@ -98,13 +98,13 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.checkReadOnly(this.file.userId)
|
this.checkReadOnly(this.file.userId)
|
||||||
// 3秒后还没加载出来视为加载失败
|
// 6秒后还没加载出来视为加载失败
|
||||||
let that = this
|
let that = this
|
||||||
this.delayClosing = setTimeout(function () {
|
this.delayClosing = setTimeout(function () {
|
||||||
if (!that.readyShow) {
|
if (!that.readyShow) {
|
||||||
that.loadFileFaild()
|
that.loadFileFaild()
|
||||||
}
|
}
|
||||||
},3000)
|
},6000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user