From 60df7786d87256b82bf476dc80458bac0ccdf2c6 Mon Sep 17 00:00:00 2001 From: John Bro <42930107+john1298308460@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:13:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=89=8D=E8=BF=9B=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96=20(#5320?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/host/file-management/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); });