Skip to content

Commit

Permalink
Merge pull request #14 from cilliandevops/release-0.1.0
Browse files Browse the repository at this point in the history
feat: update namespce dashboard
  • Loading branch information
cilliandevops authored Aug 29, 2024
2 parents ec8af67 + be5841c commit ce546ad
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 327 deletions.
8 changes: 4 additions & 4 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ export const constantRoutes: RouteRecordRaw[] = [
}
},
{
path: "navigation",
component: () => import("@/views/error-page/404.vue"),
name: "Nav",
path: "naemspace",
component: () => import("@/views/namespace/index.vue"),
name: "Namespace",
meta: {
title: "deployment"
title: "namespace"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/utils/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function createService() {
// 二进制数据则直接返回
const responseType = response.request?.responseType
if (responseType === "blob" || responseType === "arraybuffer") return apiData
if (response.config.url?.startsWith("/apis/v1/k8s/nodes")) {
if (response.config.url?.startsWith("/apis/v1/k8s")) {
return apiData
}
// 这个 code 是和后端约定的业务 code
Expand Down
317 changes: 0 additions & 317 deletions src/views/namespace/Namespace.vue

This file was deleted.

Loading

0 comments on commit ce546ad

Please sign in to comment.