diff --git a/src/renderer/src/views/tool/sphere.vue b/src/renderer/src/views/tool/sphere.vue index 982b5e6..766f276 100644 --- a/src/renderer/src/views/tool/sphere.vue +++ b/src/renderer/src/views/tool/sphere.vue @@ -109,7 +109,7 @@ const sideMouse = e => { mouseChange(type == 'mouseleave') } // 侧边工具栏: 操作变化 -const sideChange = o => { +const sideChange = async o => { // console.log(o) switch(o.prop) { case 'resource': // 资源 @@ -120,7 +120,7 @@ const sideChange = o => { break case 'over': // 下课 toolStore.isToolWin = false - endClass(route.query.reservId) + await endClass(route.query.reservId) ipcMsgSend('tool-sphere:close') break }