diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index cfde732b6..7c1237136 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -914,7 +914,8 @@ onMounted(() => { } pathWidth.value = pathRef.value.offsetWidth; search(); - + history.push(req.path); + pointer = history.length - 1; nextTick(function () { handlePath(); });