jihuaqiang 3 周之前
父节点
当前提交
88ddd89f14
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/setting/setting.router.tsx

+ 1 - 1
src/views/setting/setting.router.tsx

@@ -25,7 +25,7 @@ const LazyComponent = ({ Component }: { Component: React.ComponentType<any> }) =
 
 const demoRoutes: AdminRouterItem[] = [
   {
-		path: 'setting',
+		path: 'setting/:code?',
 		element: <LazyComponent Component={Setting} />,
 		sortKey: 5,
 		meta: {