mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 07:10:27 +08:00
实现在服务中使用分组
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user