fix: 文件返回前进功能优化 (#5320)
Some checks failed
Build / SonarCloud (push) Failing after -4m56s
sync2gitee / repo-sync (push) Failing after -5m6s
Build Test / build-linux-binary (push) Failing after 17s

This commit is contained in:
John Bro 2024-06-06 15:13:37 +08:00 committed by GitHub
parent 0e74acbec0
commit 60df7786d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -914,7 +914,8 @@ onMounted(() => {
}
pathWidth.value = pathRef.value.offsetWidth;
search();
history.push(req.path);
pointer = history.length - 1;
nextTick(function () {
handlePath();
});