From 34da5fb4320c5aa570e84ec5f88c15d52b6931c4 Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 9 Oct 2024 16:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/set-homework/index.vue | 1 + src/renderer/src/views/desktop/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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('//', '/') -- 2.44.0.windows.1