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 0f3758c..065ea02 100644 --- a/src/renderer/src/views/desktop/index.vue +++ b/src/renderer/src/views/desktop/index.vue @@ -183,10 +183,10 @@ const clickMenu = ({isOuter, path, disabled, id}) =>{ // 头部 教材分析打开外部链接需要当前章节ID const { id, rootid } = sessionStore.get('subject.curNode') if(fullPath.indexOf('?') == -1){ - fullPath += `?unitId=${id}&bookeId=${rootid}` + fullPath += `?unitId=${id}&bookId=${rootid}` } else{ - fullPath += `&unitId=${id}&bookeId=${rootid}` + fullPath += `&unitId=${id}&bookId=${rootid}` } } fullPath = fullPath.replaceAll('//', '/')