Skip to content

Commit 44ce59d

Browse files
committed
feat: 添加给系统功能添加转发界面
1 parent 7a1f575 commit 44ce59d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pages/(base)/function/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { redirect } from 'react-router-dom';
2+
13
const Function = () => {
24
return null;
35
};
@@ -9,4 +11,8 @@ export const handle = {
911
title: 'function'
1012
};
1113

14+
export const loader = () => {
15+
redirect('event-bus');
16+
};
17+
1218
export default Function;

0 commit comments

Comments
 (0)