Skip to content

Commit e90240a

Browse files
committed
Merge branch 'master' of github.com:KubeOperator/KubePi
2 parents 5f1216b + 8437198 commit e90240a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

web/dashboard/src/business/custom-resource/cr/cr.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export default {
7575
version: this.version,
7676
group: this.group,
7777
names: this.names,
78+
},
79+
query: {
7880
namespace: row.metadata.namespace
7981
}
8082
})

web/dashboard/src/business/custom-resource/cr/edit.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export default {
2222
name: String,
2323
names: String,
2424
version: String,
25-
group: String,
26-
namespace: String,
25+
group: String
2726
},
2827
data () {
2928
return {
@@ -61,6 +60,7 @@ export default {
6160
},
6261
created () {
6362
this.cluster = this.$route.query.cluster
63+
this.namespace = this.$route.query.namespace
6464
this.getDetail()
6565
}
6666
}

web/dashboard/src/business/custom-resource/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<template>
22
<layout-content>
3-
<div v-loading="loading">
3+
<div>
44
<el-row>
55
<el-col :span="6">
66
<el-scrollbar style="height:900px">
77
<el-tree
8+
v-loading="loading"
89
:empty-text="$t('commons.table.empty_text')"
910
class="filter-tree"
1011
:default-expand-all="true"

web/dashboard/src/router/modules/clusters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const Clusters = {
151151
},
152152
},
153153
{
154-
path: "/resource/:group/:names/:version/:namespace/:name/edit",
154+
path: "/resource/:group/:names/:version/:name/edit",
155155
component: () => import("@/business/custom-resource/cr/edit"),
156156
hidden: true,
157157
props: true,

0 commit comments

Comments
 (0)