Merge pull request '修改作业弹窗' (#122) from zxl into main

Reviewed-on: #122
This commit is contained in:
zhangxuelin 2024-12-12 16:38:33 +08:00
commit c5e71e6e7b
1 changed files with 32 additions and 30 deletions

View File

@ -714,8 +714,9 @@ const closeDialog = () => {
// im
const msgHandle = (msg) => {
const { type, data } = msg
switch(type) {
if (typeof msg === 'object'){
const { head, content, ...other } = msg
switch(head) {
case MsgEnum.HEADS.MSG_closed: // :
window.close() //
break
@ -747,6 +748,7 @@ const msgHandle = (msg) => {
// break
}
}
}
const reloadTimer = ref(0); // id
const cutid = ref(0); // id