This commit is contained in:
jxxghp
2023-08-27 08:46:32 +08:00
parent 5e2d144828
commit 51816da3d3
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ const newFolderName = ref('')
// 计算PATH面包屑
const pathSegments = computed(() => {
let path_str = '/'
let path_str = ''
const isFolder = inProps.path?.endsWith('/')
const segments = inProps.path?.split('/').filter(item => item)