ppt 动画
This commit is contained in:
parent
0d38a12094
commit
abce344d42
|
@ -44,16 +44,13 @@ export class Classcourse {
|
|||
const { paging } = classcourse
|
||||
const isPaging = !!paging || paging === 0
|
||||
if (isPaging) {
|
||||
console.log('更新当前页码', paging)
|
||||
await this.sleep(200)
|
||||
emitter.emit('useExecPlay', {key:'turnSlideToIndex', paging})
|
||||
await this.sleep(1000)
|
||||
// 如果课堂信息有paging,则更新动画播放状态
|
||||
const isAnim = !!classcourse.cartoonTimes
|
||||
if (isAnim) { // 动画播放
|
||||
console.log('动画播放1', classcourse)
|
||||
for (let i = 0; i < classcourse.cartoonTimes; i++) {
|
||||
console.log('动画播放2', i)
|
||||
// 异步执行动画
|
||||
emitter.emit('useExecPlay', {key:'execNext', isAsync:true})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue