邓洁: 修复bug

This commit is contained in:
邓洁
2023-12-28 23:00:52 +08:00
parent 50270cddd3
commit 6dde5ccbc8
11 changed files with 274 additions and 111 deletions

View File

@@ -24,7 +24,7 @@ const routes = [
},
},
{
path: '/edit/:tunnelId(\\d+)/:type',
path: '/edit/:tunnelId(\\d+)/:type/:userId(\\d+)',
name: 'tunneledit',
component: () => import('@/views/edit/edit.vue'),
meta: {
@@ -42,7 +42,7 @@ const routes = [
}
},
{
path: '/site',
path: '/site/:userId(\\d+)',
name: 'site',
component: () => import('@/views/site/index.vue'),
meta: {
@@ -60,7 +60,7 @@ const routes = [
}
},
{
path: '/tunnel/:siteId(\\d+)/:type',
path: '/tunnel/:siteId(\\d+)/:type/:userId(\\d+)',
name: 'tunnel',
component: () => import('@/views/tunnel-manage/index.vue'),
meta: {
@@ -69,7 +69,7 @@ const routes = [
}
},
{
path: '/device/:tunnelId(\\d+)/:type',
path: '/device/:tunnelId(\\d+)/:type/:userId(\\d+)',
name: 'device',
component: () => import('@/views/device-manage/index.vue'),
meta: {