实现在服务中使用分组

This commit is contained in:
刘祥超
2020-10-29 21:37:48 +08:00
parent f711a52288
commit 33b7030a4c
13 changed files with 169 additions and 59 deletions

View File

@@ -1,20 +1,8 @@
Vue.component("node-group-selector", {
props: ["v-cluster-id", "v-group"],
mounted: function () {
let that = this
Tea.action("/clusters/cluster/groups/options")
.post()
.params({
clusterId: this.vClusterId
})
.success(function (resp) {
})
},
data: function () {
return {
groups: [],
selectedGroup: this.vGroup,
selectedGroup: this.vGroup
}
},
methods: {