Skip to content

Commit c00cf22

Browse files
fix: bugs
1 parent 4c66fa9 commit c00cf22

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

ui/src/components/folder-tree/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,9 @@ function refreshFolder() {
232232
height: calc(100vh - 210px);
233233
}
234234
}
235+
:deep(.overflow-inherit_node__children) {
236+
.el-tree-node__children {
237+
overflow: inherit !important;
238+
}
239+
}
235240
</style>

ui/src/layout/components/breadcrumb/index.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="breadcrumb ml-4 mt-4 mb-12 flex">
3-
<back-button to="-1" class="mt-4"></back-button>
3+
<back-button :to="toBackPath" class="mt-4"></back-button>
44
<div class="flex align-center">
55
<el-avatar
66
v-if="isApplication && isAppIcon(current?.icon)"
@@ -29,7 +29,6 @@ import { ref, onMounted, computed } from 'vue'
2929
import { onBeforeRouteLeave, useRouter, useRoute } from 'vue-router'
3030
import { isAppIcon } from '@/utils/common'
3131
import { loadSharedApi } from '@/utils/dynamics-api/shared-api'
32-
3332
import useStore from '@/stores'
3433
const { common, application } = useStore()
3534
const route = useRoute()
@@ -64,6 +63,16 @@ const isKnowledge = computed(() => {
6463
return activeMenu.includes('knowledge')
6564
})
6665
66+
const toBackPath = computed(() => {
67+
if (route.path.includes('shared')) {
68+
return '/system/shared' + activeMenu
69+
} else if (route.path.includes('resource-management')) {
70+
return '/system/resource-management' + activeMenu
71+
} else {
72+
return activeMenu
73+
}
74+
})
75+
6776
function getKnowledgeDetail() {
6877
loading.value = true
6978
loadSharedApi({ type: 'knowledge', systemType: apiType.value })

0 commit comments

Comments
 (0)