修复一些问题 #301
|
@ -276,6 +276,7 @@ const cloneDialog = (formEl) => {
|
||||||
expandedKeys.value = []
|
expandedKeys.value = []
|
||||||
formEl.resetFields()
|
formEl.resetFields()
|
||||||
model.value = false
|
model.value = false
|
||||||
|
emit('on-close')
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
|
@ -183,10 +183,10 @@ const clickMenu = ({isOuter, path, disabled, id}) =>{
|
||||||
// 头部 教材分析打开外部链接需要当前章节ID
|
// 头部 教材分析打开外部链接需要当前章节ID
|
||||||
const { id, rootid } = sessionStore.get('subject.curNode')
|
const { id, rootid } = sessionStore.get('subject.curNode')
|
||||||
if(fullPath.indexOf('?') == -1){
|
if(fullPath.indexOf('?') == -1){
|
||||||
fullPath += `?unitId=${id}&bookeId=${rootid}`
|
fullPath += `?unitId=${id}&bookId=${rootid}`
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
fullPath += `&unitId=${id}&bookeId=${rootid}`
|
fullPath += `&unitId=${id}&bookId=${rootid}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fullPath = fullPath.replaceAll('//', '/')
|
fullPath = fullPath.replaceAll('//', '/')
|
||||||
|
|
Loading…
Reference in New Issue