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