diff --git a/src/router.js b/src/router.js index 36cdeada..bda5078e 100644 --- a/src/router.js +++ b/src/router.js @@ -68,15 +68,17 @@ const routes = [ }, ], }, + ], + }, + { + path: "/add", + component: EditMonitor, + children: [ { path: "/clone/:id", component: EditMonitor, }, - { - path: "/add", - component: EditMonitor, - }, - ], + ] }, { path: "/list",