diff --git a/.changeset/red-meals-kick.md b/.changeset/red-meals-kick.md
new file mode 100644
index 0000000000..1a521dc437
--- /dev/null
+++ b/.changeset/red-meals-kick.md
@@ -0,0 +1,5 @@
+---
+"@scow/portal-web": patch
+---
+
+修复文件管理跳转路径导致的控制台报错
diff --git a/apps/portal-web/src/pages/files/[cluster]/~.tsx b/apps/portal-web/src/pages/files/[cluster]/~.tsx
index 05db9ed3d3..a91bf132b6 100644
--- a/apps/portal-web/src/pages/files/[cluster]/~.tsx
+++ b/apps/portal-web/src/pages/files/[cluster]/~.tsx
@@ -14,6 +14,7 @@ import { queryToString } from "@scow/lib-web/build/utils/querystring";
import { Spin } from "antd";
import { NextPage } from "next";
import { useRouter } from "next/router";
+import { join } from "path";
import { useCallback } from "react";
import { useAsync } from "react-async";
import { api } from "src/apis";
@@ -39,7 +40,7 @@ export const HomeDirFileManagerPage: NextPage = requireAuth(() => true)(() => {
return ;
}
- return ;
+ return ;
});
export default HomeDirFileManagerPage;