Merge pull request '修复一些问题' (#301) from lyc-dev into main

This commit is contained in:
lyc 2024-10-09 16:55:13 +08:00
commit 615be3302c
2 changed files with 2 additions and 1 deletions

View File

@ -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(() => {

View File

@ -186,7 +186,7 @@ const clickMenu = ({isOuter, path, disabled, id}) =>{
fullPath += `?unitId=${id}&bookId=${rootid}` fullPath += `?unitId=${id}&bookId=${rootid}`
} }
else{ else{
fullPath += `&unitId=${id}&bookId=${rootid}` fullPath += `&unitId=${id}&bookId=${rootid}`
} }
} }
fullPath = fullPath.replaceAll('//', '/') fullPath = fullPath.replaceAll('//', '/')