优化集群选择DNS设置交互

This commit is contained in:
GoEdgeLab
2021-08-25 11:55:06 +08:00
parent 42cd28877a
commit 1300bfb3d4
5 changed files with 28 additions and 5 deletions

View File

@@ -2,6 +2,12 @@ Tea.context(function () {
this.success = function (resp) {
teaweb.success("集群创建成功", function () {
window.location = "/clusters/cluster/nodes?clusterId=" + resp.data.clusterId
} )
})
}
this.domain = {id: 0, name: ""}
this.changeDomain = function (domain) {
this.domain.id = domain.id
this.domain.name = domain.name
}
})