diff --git a/src/router/infrastructure.ts b/src/router/infrastructure.ts index 2450e82a..8a2783c7 100644 --- a/src/router/infrastructure.ts +++ b/src/router/infrastructure.ts @@ -27,17 +27,24 @@ export const routesInfra: Array = [ exact: true, hasGroup: true, }, - redirect: "/infrastructure", + redirect: "/linux", component: Layout, children: [ { - path: "/infrastructure", + path: "/linux", name: "Linux", meta: { title: "linux", }, component: () => import("@/views/Layer.vue"), - // component: () => import("@/views/infrastructure/Infrastructure.vue"), + }, + { + path: "/kubernetes", + name: "Kubernetes", + meta: { + title: "kubernetes", + }, + component: () => import("@/views/Layer.vue"), }, // { // path: "/infrastructure/vm", diff --git a/src/views/Layer.vue b/src/views/Layer.vue index b7f3210c..16ef43f3 100644 --- a/src/views/Layer.vue +++ b/src/views/Layer.vue @@ -14,101 +14,61 @@ See the License for the specific language governing permissions and limitations under the License. --> diff --git a/src/views/dashboard/Edit.vue b/src/views/dashboard/Edit.vue index eb62f74c..595a089f 100644 --- a/src/views/dashboard/Edit.vue +++ b/src/views/dashboard/Edit.vue @@ -13,9 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->