A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
Fix RouteNode type error
ppchartc75ba7b5bdf4
diff --git a/ui/src/router/index.tsx b/ui/src/router/index.tsxindex 1b78d19b..7f2f0d3e 100644--- a/ui/src/router/index.tsx+++ b/ui/src/router/index.tsx@@ -5,7 +5,7 @@ import Layout from '@answer/pages/Layout';import routeConfig from '@/router/route-config';import RouteRules from '@/router/route-rules';-import { RouteNode } from './types';+import { RouteNode } from '@/router/types';const routes: RouteObject[] = [];diff --git a/ui/src/router/route-config.ts b/ui/src/router/route-config.tsindex aba49871..869068ae 100644--- a/ui/src/router/route-config.ts+++ b/ui/src/router/route-config.ts@@ -1,4 +1,4 @@-import { RouteNode } from './types';+import { RouteNode } from '@/router/types';const routeConfig: RouteNode[] = [{