From 65643279ce571c029203e0735e03479a37659b87 Mon Sep 17 00:00:00 2001 From: zhangxuelin <959231531@qq.com> Date: Thu, 26 Dec 2024 14:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=B9=BB=E7=81=AF=E7=89=87?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/AixPPTist/src/api/watcher.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/renderer/src/AixPPTist/src/api/watcher.ts b/src/renderer/src/AixPPTist/src/api/watcher.ts index 5a9e731..5c7e9ac 100644 --- a/src/renderer/src/AixPPTist/src/api/watcher.ts +++ b/src/renderer/src/AixPPTist/src/api/watcher.ts @@ -2,7 +2,7 @@ * @description 公共监听器 */ -import { watch } from 'vue' +import { watch, render } from 'vue' import { PPTApi } from './index' import * as store from '../store' import { sessionStore } from '@/utils/store' // electron-store 状态管理 @@ -99,6 +99,7 @@ export default () => { } break case MsgEnum.HEADS.MSG_slideFlapping: // 幻灯片翻页 + render(null, document.body) //移除弹窗 emitter.emit('closegridPic') //如果有推图片窗口 就关闭 const slideIndex = content?.current || 0 const type = content?.animation // 上下动作 @@ -148,14 +149,4 @@ export default () => { window.close() // 关闭窗口 }, 1000) } - // setTimeout(async () => { - // emitter.emit('opengridPic',{arr:['https://prev.ysaix.com:7868/src/assets/images/homecard4.jpg']}) - // }, 3000) - - // setTimeout(async () => { - // emitter.emit('closegridPic') - // }, 6000) - // setTimeout(async () => { - // emitter.emit('opengridPic',{arr:['https://prev.ysaix.com:7868/src/assets/images/homecard4.jpg','https://prev.ysaix.com:7868/src/assets/images/homecard4.jpg']}) - // }, 9000) } \ No newline at end of file -- 2.44.0.windows.1