添加推图片上屏

This commit is contained in:
zhangxuelin 2024-12-25 17:29:34 +08:00
parent ef670dee99
commit eb7d6df355
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ export default () => {
} }
break break
case MsgEnum.HEADS.MSG_slideFlapping: // 幻灯片翻页 case MsgEnum.HEADS.MSG_slideFlapping: // 幻灯片翻页
emitter.emit('closegridPic') emitter.emit('closegridPic') //如果有推图片窗口 就关闭
const slideIndex = content?.current || 0 const slideIndex = content?.current || 0
const type = content?.animation // 上下动作 const type = content?.animation // 上下动作
const steps = content?.animationSteps // 动画步骤 const steps = content?.animationSteps // 动画步骤
@ -132,7 +132,7 @@ export default () => {
break break
case MsgEnum.HEADS.MSG_pushSreen_ImgList: // 推图片上屏 case MsgEnum.HEADS.MSG_pushSreen_ImgList: // 推图片上屏
const imgArray = content.ImgList.map((obj) => obj.url); const imgArray = content.ImgList.map((obj) => obj.url);
emitter.emit('opengridPic',{arr:imgArray}) emitter.emit('opengridPic',{arr:imgArray}) // 打开推图片上屏窗口
break break
case MsgEnum.HEADS.MSG_0010: // 备用 case MsgEnum.HEADS.MSG_0010: // 备用
break break