mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 23:00:25 +08:00
13 lines
270 B
JavaScript
13 lines
270 B
JavaScript
Tea.context(function () {
|
|
this.clusterId = 0
|
|
|
|
this.changeCluster = function(clusterId) {
|
|
this.clusterId = clusterId
|
|
}
|
|
|
|
this.goNext = function () {
|
|
if (this.clusterId > 0) {
|
|
window.location = "/clusters/cluster/createNode?clusterId=" + this.clusterId
|
|
}
|
|
}
|
|
}) |