diff --git a/src/renderer/src/AixPPTist/src/api/watcher.ts b/src/renderer/src/AixPPTist/src/api/watcher.ts index cb67de2..220ed53 100644 --- a/src/renderer/src/AixPPTist/src/api/watcher.ts +++ b/src/renderer/src/AixPPTist/src/api/watcher.ts @@ -11,7 +11,7 @@ import ChatWs from '@/plugins/socket' // 聊天socket import Classcourse from './classcourse' // 课程相关 import msgUtils from '@/plugins/modal' // 消息工具 import { Homework } from './index' // api-作业相关 -import emitter from '@/utils/mitt' //mitt 事件总线 +// import emitter from '@/utils/mitt' //mitt 事件总线 import useExecPlay from '../views/Screen/hooks/useExecPlay' // 播放控制 import hooksUpvote from './upvote' // 点赞-工具 @@ -111,11 +111,9 @@ export default () => { close() break case MsgEnum.HEADS.MSG_dz: // 点赞 - // emitter.emit('upvoteTrigger', 1) hooksUpvote.trigger(1) break case MsgEnum.HEADS.MSG_yh: // 疑惑 - // emitter.emit('upvoteTrigger', 2) hooksUpvote.trigger(2) break case MsgEnum.HEADS.MSG_0010: // 备用