Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 24750e3

Browse files
committed
修复 错误的文件读取执行顺序
1 parent 8061f23 commit 24750e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routers/file_router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ routerApp.on("file/list", (ctx, data) => {
4343
try {
4444
const fileManager = getFileManager(data.instanceUuid);
4545
const { page, pageSize, target } = data;
46-
const overview = fileManager.list(page, pageSize);
4746
fileManager.cd(target);
47+
const overview = fileManager.list(page, pageSize);
4848
protocol.response(ctx, overview);
4949
} catch (error) {
5050
protocol.responseError(ctx, error);

0 commit comments

Comments
 (0)