Skip to content

Commit

Permalink
Merge branch 'master' of github.com:KubeOperator/KubePi
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Jan 12, 2022
2 parents 5f1216b + 8437198 commit e90240a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions web/dashboard/src/business/custom-resource/cr/cr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export default {
version: this.version,
group: this.group,
names: this.names,
},
query: {
namespace: row.metadata.namespace
}
})
Expand Down
4 changes: 2 additions & 2 deletions web/dashboard/src/business/custom-resource/cr/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
name: String,
names: String,
version: String,
group: String,
namespace: String,
group: String
},
data () {
return {
Expand Down Expand Up @@ -61,6 +60,7 @@ export default {
},
created () {
this.cluster = this.$route.query.cluster
this.namespace = this.$route.query.namespace
this.getDetail()
}
}
Expand Down
3 changes: 2 additions & 1 deletion web/dashboard/src/business/custom-resource/index.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<template>
<layout-content>
<div v-loading="loading">
<div>
<el-row>
<el-col :span="6">
<el-scrollbar style="height:900px">
<el-tree
v-loading="loading"
:empty-text="$t('commons.table.empty_text')"
class="filter-tree"
:default-expand-all="true"
Expand Down
2 changes: 1 addition & 1 deletion web/dashboard/src/router/modules/clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const Clusters = {
},
},
{
path: "/resource/:group/:names/:version/:namespace/:name/edit",
path: "/resource/:group/:names/:version/:name/edit",
component: () => import("@/business/custom-resource/cr/edit"),
hidden: true,
props: true,
Expand Down

0 comments on commit e90240a

Please sign in to comment.