fix: 修复在终端中打开路径错误问题

This commit is contained in:
purocean
2021-06-09 16:26:46 +08:00
parent 023e01054f
commit 0943f95941
+1 -1
View File
@@ -158,7 +158,7 @@ export default defineComponent({
}
function revealInXterminal () {
const path = currentRepo.value ? currentRepo.value.path + props.item.path : ''
const path = currentRepo.value ? currentRepo.value.path + '/' + props.item.path : ''
bus.emit('xterm-run', `--yank-note-run-command-cd-- ${path}`)
}