ppt 动画

This commit is contained in:
zdg 2024-12-17 17:35:48 +08:00
parent 0d38a12094
commit abce344d42
1 changed files with 0 additions and 3 deletions

View File

@ -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})
}