diff --git a/src/renderer/src/components/set-homework/index.vue b/src/renderer/src/components/set-homework/index.vue index 56b42a7..380e381 100644 --- a/src/renderer/src/components/set-homework/index.vue +++ b/src/renderer/src/components/set-homework/index.vue @@ -276,6 +276,7 @@ const cloneDialog = (formEl) => { expandedKeys.value = [] formEl.resetFields() model.value = false + emit('on-close') } onMounted(() => { diff --git a/src/renderer/src/views/desktop/index.vue b/src/renderer/src/views/desktop/index.vue index 641c305..065ea02 100644 --- a/src/renderer/src/views/desktop/index.vue +++ b/src/renderer/src/views/desktop/index.vue @@ -186,7 +186,7 @@ const clickMenu = ({isOuter, path, disabled, id}) =>{ fullPath += `?unitId=${id}&bookId=${rootid}` } else{ - fullPath += `&unitId=${id}&bookId=${rootid}` + fullPath += `&unitId=${id}&bookId=${rootid}` } } fullPath = fullPath.replaceAll('//', '/')