perf: 优化文件管理器终端命令 (#6393)

Refs #5891
This commit is contained in:
2024-09-06 11:51:50 +08:00 committed by GitHub
parent f2d3acb650
commit 5aad16968b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -407,7 +407,7 @@ defineExpose({
onMounted(() => {
if (router.currentRoute.value.query.path) {
const path = String(router.currentRoute.value.query.path);
initCmd.value = `cd ${path} \n`;
initCmd.value = `cd "${path}" \n`;
}
});
</script>