zdg_dev #149

Merged
zhengdegang merged 3 commits from zdg_dev into main 2024-12-18 16:01:33 +08:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 38a50d18bf - Show all commits

View File

@ -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: // 备用