Initial commit (code only without large binaries)
This commit is contained in:
13
EdgeAdmin/web/views/@default/clusters/create.js
Normal file
13
EdgeAdmin/web/views/@default/clusters/create.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user